Changeset 35444 in osm for applications/editors
- Timestamp:
- 2020-05-14T14:21:56+02:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/ElevationProfile
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ElevationProfile/.settings/org.eclipse.jdt.ui.prefs
r30344 r35444 14 14 sp_cleanup.always_use_this_for_non_static_field_access=false 15 15 sp_cleanup.always_use_this_for_non_static_method_access=false 16 sp_cleanup.convert_functional_interfaces=false 16 17 sp_cleanup.convert_to_enhanced_for_loop=false 17 sp_cleanup.correct_indentation= true18 sp_cleanup.correct_indentation=false 18 19 sp_cleanup.format_source_code=false 19 20 sp_cleanup.format_source_code_changes_only=false 21 sp_cleanup.insert_inferred_type_arguments=false 20 22 sp_cleanup.make_local_variable_final=false 21 23 sp_cleanup.make_parameters_final=false … … 33 35 sp_cleanup.qualify_static_method_accesses_with_declaring_class=false 34 36 sp_cleanup.remove_private_constructors=true 37 sp_cleanup.remove_redundant_type_arguments=false 35 38 sp_cleanup.remove_trailing_whitespaces=true 36 39 sp_cleanup.remove_trailing_whitespaces_all=true … … 46 49 sp_cleanup.sort_members=false 47 50 sp_cleanup.sort_members_all=false 51 sp_cleanup.use_anonymous_class_creation=false 48 52 sp_cleanup.use_blocks=false 49 53 sp_cleanup.use_blocks_only_for_return_and_throw=false 54 sp_cleanup.use_lambda=false 50 55 sp_cleanup.use_parentheses_in_expressions=false 51 56 sp_cleanup.use_this_for_non_static_field_access=false -
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.