Skip to content
Snippets Groups Projects
Commit 4e09b490 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Removed unused variable

parent 0b159929
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,6 @@ public class WeatherDataFileReader { ...@@ -116,7 +116,6 @@ public class WeatherDataFileReader {
JsonFactory f = new MappingJsonFactory(); JsonFactory f = new MappingJsonFactory();
JsonParser jp = f.createParser(inputStream); JsonParser jp = f.createParser(inputStream);
JsonNode all = jp.readValueAsTree(); JsonNode all = jp.readValueAsTree();
List<WeatherObservation> observations = new ArrayList<>();
ObjectMapper mapper = new ObjectMapper(); ObjectMapper mapper = new ObjectMapper();
List<PointWeatherObservationList> theList = mapper.convertValue(all, new TypeReference<List<PointWeatherObservationList>>(){}); List<PointWeatherObservationList> theList = mapper.convertValue(all, new TypeReference<List<PointWeatherObservationList>>(){});
config.setConfigParameter("multiPointWeatherObservations", theList); config.setConfigParameter("multiPointWeatherObservations", theList);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment