Changeset 8510 in josm for trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java
- Timestamp:
- 2015-06-20T23:42:21+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java
r8376 r8510 67 67 68 68 public final LatLon getCoor() { 69 return new LatLon(lat,lon); 69 return new LatLon(lat, lon); 70 70 } 71 71 … … 95 95 @Override 96 96 public String toString() { 97 return "WayPoint (" + (attr.containsKey(GPX_NAME) ? get(GPX_NAME) + ", " :"") + getCoor() + ", " + attr + ")"; 97 return "WayPoint (" + (attr.containsKey(GPX_NAME) ? get(GPX_NAME) + ", " : "") + getCoor() + ", " + attr + ")"; 98 98 } 99 99 … … 105 105 try { 106 106 time = dateParser.get().parse(get(PT_TIME).toString()).getTime() / 1000.; /* ms => seconds */ 107 } catch(Exception e) { 107 } catch (Exception e) { 108 108 time = 0; 109 109 }
Note:
See TracChangeset
for help on using the changeset viewer.
