Changeset 8846 in josm for trunk/src/org/openstreetmap/josm/data/coor
- Timestamp:
- 2015-10-10T01:40:42+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/coor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/CachedLatLon.java
r8357 r8846 63 63 @Override 64 64 public String toString() { 65 return "CachedLatLon[lat="+lat()+",lon="+lon()+ "]";65 return "CachedLatLon[lat="+lat()+",lon="+lon()+']'; 66 66 } 67 67 } -
trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java
r8557 r8846 162 162 } 163 163 164 @Override public String toString() { 165 return "EastNorth[e="+x+", n="+y+"]"; 164 @Override 165 public String toString() { 166 return "EastNorth[e="+x+", n="+y+']'; 166 167 } 167 168 -
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r8540 r8846 151 151 } 152 152 153 return sDegrees + "\u00B0" + sMinutes + "\'" + sSeconds + "\"";153 return sDegrees + '\u00B0' + sMinutes + '\'' + sSeconds + '\"'; 154 154 } 155 155 … … 173 173 } 174 174 175 return sDegrees + "\u00B0" + sMinutes + "\'";175 return sDegrees + '\u00B0' + sMinutes + '\''; 176 176 } 177 177 … … 325 325 NumberFormat nf = NumberFormat.getInstance(); 326 326 nf.setMaximumFractionDigits(5); 327 return "lat=" + nf.format(lat()) + "\u00B0, lon=" + nf.format(lon()) + "\u00B0";327 return "lat=" + nf.format(lat()) + "\u00B0, lon=" + nf.format(lon()) + '\u00B0'; 328 328 } 329 329 … … 370 370 } 371 371 372 @Override public String toString() { 373 return "LatLon[lat="+lat()+",lon="+lon()+"]"; 372 @Override 373 public String toString() { 374 return "LatLon[lat="+lat()+",lon="+lon()+']'; 374 375 } 375 376
Note:
See TracChangeset
for help on using the changeset viewer.