feat: remove JSONArray from fetcher
This commit is contained in:
parent
f89bc7ae98
commit
43425a742b
@ -31,9 +31,4 @@ public class FakeJSONFetcherCity extends JSONFetcher{
|
||||
String city = params.get("q").toLowerCase(Locale.ENGLISH);
|
||||
return cities().getOrDefault(city, unknownCity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public JSONArray fetchArray(URL url) throws IOException {
|
||||
return null;
|
||||
}
|
||||
}
|
@ -18,8 +18,4 @@ public class FakeJSONFetcherOpenMeteo extends JSONFetcher {
|
||||
return responseExample();
|
||||
}
|
||||
|
||||
@Override
|
||||
public JSONArray fetchArray(URL url) throws IOException {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
@ -24,9 +24,4 @@ public class FakeJSONFetcherOpenWeatherMap extends JSONFetcher {
|
||||
return wrongKeyResponse;
|
||||
return responseExample();
|
||||
}
|
||||
|
||||
@Override
|
||||
public JSONArray fetchArray(URL url) throws IOException {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
@ -34,9 +34,4 @@ public class FakeJSONFetcherWeatherAPI extends JSONFetcher {
|
||||
|
||||
return bordeauxRequests().get(days - 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public JSONArray fetchArray(URL url) throws IOException {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user