Remove unnecessary response.close()

This commit is contained in:
0xboobface 2018-11-06 18:36:28 +01:00
parent 69194e2800
commit a5ddf4f509
1 changed files with 0 additions and 1 deletions

View File

@ -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")) {