Changeset 17748 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2021-04-11T21:56:47+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
r17715 r17748 296 296 Instant at = a.getInstant(); 297 297 Instant bt = b.getInstant(); 298 inv = bt.isBefore(at);298 inv = at != null && bt != null && bt.isBefore(at); 299 299 if (inv) { 300 300 firstWp = b; -
trunk/src/org/openstreetmap/josm/io/GpxReader.java
r17166 r17748 477 477 case PT_TIME: 478 478 try { 479 currentWayPoint.set TimeInMillis(DateUtils.tsFromString(accumulator.toString()));479 currentWayPoint.setInstant(DateUtils.parseInstant(accumulator.toString())); 480 480 } catch (UncheckedParseException | DateTimeException e) { 481 481 Logging.error(e);
Note:
See TracChangeset
for help on using the changeset viewer.