Changeset 15620 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2019-12-27T00:14:21+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GeoJSONReader.java
r15499 r15620 21 21 import javax.json.stream.JsonParser; 22 22 import javax.json.stream.JsonParser.Event; 23 import javax.json.stream.JsonParsingException; 23 24 24 25 import org.openstreetmap.josm.data.coor.EastNorth; … … 347 348 protected DataSet doParseDataSet(InputStream source, ProgressMonitor progressMonitor) throws IllegalDataException { 348 349 setParser(Json.createParser(source)); 349 parse(); 350 try { 351 parse(); 352 } catch (JsonParsingException e) { 353 throw new IllegalDataException(e); 354 } 350 355 return getDataSet(); 351 356 }
Note:
See TracChangeset
for help on using the changeset viewer.