Changeset 35444 in osm for applications/editors/josm/plugins/ElevationProfile/src
- Timestamp:
- 2020-05-14T14:21:56+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/gpx/ElevationProfile.java
r35066 r35444 121 121 return; 122 122 123 start = new Date( );124 end = new Date( 0L);123 start = new Date(0L); 124 end = new Date(); 125 125 this.minHeight = Integer.MAX_VALUE; 126 126 this.maxHeight = Integer.MIN_VALUE; … … 196 196 protected void setStart(WayPoint wp) { 197 197 importantWayPoints[WAYPOINT_START] = wp; 198 this.start = wp.getDate(); 198 if(wp.getDate() != null) 199 this.start = wp.getDate(); 199 200 } 200 201 … … 204 205 protected void setEnd(WayPoint wp) { 205 206 importantWayPoints[WAYPOINT_END] = wp; 206 this.end = wp.getDate(); 207 if(wp.getDate() != null) 208 this.end = wp.getDate(); 207 209 } 208 210
Note:
See TracChangeset
for help on using the changeset viewer.