diff options
Diffstat (limited to 'app/src/main/java/org/cyanogenmod/wundergroundcmweatherprovider/wunderground/ConverterUtils.java')
-rw-r--r-- | app/src/main/java/org/cyanogenmod/wundergroundcmweatherprovider/wunderground/ConverterUtils.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/src/main/java/org/cyanogenmod/wundergroundcmweatherprovider/wunderground/ConverterUtils.java b/app/src/main/java/org/cyanogenmod/wundergroundcmweatherprovider/wunderground/ConverterUtils.java index 3fd193a..cd20467 100644 --- a/app/src/main/java/org/cyanogenmod/wundergroundcmweatherprovider/wunderground/ConverterUtils.java +++ b/app/src/main/java/org/cyanogenmod/wundergroundcmweatherprovider/wunderground/ConverterUtils.java @@ -50,9 +50,8 @@ public class ConverterUtils { ArrayList<WeatherLocation> weatherLocations = new ArrayList<>(); for (CityDisambiguationResponse cityDisambiguationResponse : cityDisambiguationResponses) { WeatherLocation weatherLocation = new WeatherLocation.Builder( - cityDisambiguationResponse.getCity(), cityDisambiguationResponse.getCity()) - .setCountry(cityDisambiguationResponse.getCountry(), - cityDisambiguationResponse.getCountry()) + cityDisambiguationResponse.getCity()) + .setCountry(cityDisambiguationResponse.getCountry()) .build(); weatherLocations.add(weatherLocation); } |