Changeset 12059 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2017-05-04T10:22:09+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/FileImporter.java
r11848 r12059 16 16 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 17 17 import org.openstreetmap.josm.gui.util.GuiHelper; 18 import org.openstreetmap.josm.tools.bugreport.BugReportExceptionHandler; 18 19 import org.openstreetmap.josm.tools.Utils; 19 20 … … 102 103 displayError(f, e); 103 104 return false; 105 } catch (Exception e) { 106 BugReportExceptionHandler.handleException(e); 107 return false; 104 108 } 105 109 } -
trunk/src/org/openstreetmap/josm/io/NmeaReader.java
r11768 r12059 340 340 // vdop 341 341 accu = e[GPGSA.VDOP.position]; 342 if (!accu.isEmpty() ) {342 if (!accu.isEmpty() && currentwp != null) { 343 343 currentwp.put(GpxConstants.PT_VDOP, Float.valueOf(accu)); 344 344 } 345 345 // hdop 346 346 accu = e[GPGSA.HDOP.position]; 347 if (!accu.isEmpty() ) {347 if (!accu.isEmpty() && currentwp != null) { 348 348 currentwp.put(GpxConstants.PT_HDOP, Float.valueOf(accu)); 349 349 } 350 350 // pdop 351 351 accu = e[GPGSA.PDOP.position]; 352 if (!accu.isEmpty() ) {352 if (!accu.isEmpty() && currentwp != null) { 353 353 currentwp.put(GpxConstants.PT_PDOP, Float.valueOf(accu)); 354 354 }
Note:
See TracChangeset
for help on using the changeset viewer.