Unecessary return statement

parse method sets a globally available variable, therefore does not need to return a string
This commit is contained in:
Steven 2022-02-02 19:08:22 -05:00
parent b0cafe0f69
commit 04673485b4

View File

@ -26,7 +26,7 @@ public class PandaRequest {
.join();
}
public static String parse(String response) {
public static void parse(String response) {
String mod = "[ " + response + " ]";
JSONArray ja = new JSONArray(mod);
@ -34,7 +34,5 @@ public class PandaRequest {
JSONObject jo = ja.getJSONObject(i);
url = jo.getString("link");
}
return null;
}
}