Remove unnecessary response.close()
This commit is contained in:
parent
69194e2800
commit
a5ddf4f509
|
@ -45,7 +45,6 @@ public class BongaCamsUpdateService extends PaginatedScheduledService {
|
|||
Response response = bongaCams.getHttpClient().execute(request);
|
||||
if (response.isSuccessful()) {
|
||||
String content = response.body().string();
|
||||
response.close();
|
||||
List<Model> models = new ArrayList<>();
|
||||
JSONObject json = new JSONObject(content);
|
||||
if(json.optString("status").equals("success")) {
|
||||
|
|
Loading…
Reference in New Issue