feat: remove JSONArray from fetcher

This commit is contained in:
Martin Eyben 2024-12-02 10:20:29 +00:00
parent f89bc7ae98
commit 43425a742b
4 changed files with 0 additions and 19 deletions

View File

@ -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;
}
}

View File

@ -18,8 +18,4 @@ public class FakeJSONFetcherOpenMeteo extends JSONFetcher {
return responseExample();
}
@Override
public JSONArray fetchArray(URL url) throws IOException {
return null;
}
}

View File

@ -24,9 +24,4 @@ public class FakeJSONFetcherOpenWeatherMap extends JSONFetcher {
return wrongKeyResponse;
return responseExample();
}
@Override
public JSONArray fetchArray(URL url) throws IOException {
return null;
}
}

View File

@ -34,9 +34,4 @@ public class FakeJSONFetcherWeatherAPI extends JSONFetcher {
return bordeauxRequests().get(days - 1);
}
@Override
public JSONArray fetchArray(URL url) throws IOException {
return null;
}
}