Remove debug code
This commit is contained in:
parent
0ad935474a
commit
97edc46e60
|
@ -13,8 +13,6 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
@ -72,12 +70,11 @@ public class StripchatUpdateService extends AbstractStripchatUpdateService {
|
|||
};
|
||||
}
|
||||
|
||||
private List<Model> parseModels(String body) throws IOException {
|
||||
private List<Model> parseModels(String body) {
|
||||
List<Model> models = new ArrayList<>();
|
||||
var json = new JSONObject(body);
|
||||
if (json.has("models")) {
|
||||
var jsonModels = json.getJSONArray("models");
|
||||
Files.writeString(Path.of("/tmp/sc-models.json"), jsonModels.toString(2));
|
||||
for (var i = 0; i < jsonModels.length(); i++) {
|
||||
var jsonModel = jsonModels.getJSONObject(i);
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue