Changeset 31792 in osm for applications/viewer/jmapviewer
- Timestamp:
- 2015-12-03T01:02:54+01:00 (9 years ago)
- Location:
- applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Coordinate.java
r31433 r31792 57 57 @Override 58 58 public String toString() { 59 return "Coordinate[" + data.y + ", " + data.x + "]";59 return "Coordinate[" + data.y + ", " + data.x + ']'; 60 60 } 61 61 -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/MapMarkerCircle.java
r31791 r31792 152 152 @Override 153 153 public String toString() { 154 return "MapMarker at " + getLat() + " "+ getLon();154 return "MapMarker at " + getLat() + ' ' + getLon(); 155 155 } 156 156 -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/MapPolygonImpl.java
r31429 r31792 108 108 @Override 109 109 public String toString() { 110 return "MapPolygon [points=" + points + "]";110 return "MapPolygon [points=" + points + ']'; 111 111 } 112 112 } -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/checkBoxTree/CheckBoxNodeData.java
r31429 r31792 27 27 28 28 public Boolean isSelected() { 29 29 return layer.isVisible(); 30 30 } 31 31 … … 35 35 36 36 public String getText() { 37 37 return layer.getName(); 38 38 } 39 39 … … 43 43 44 44 public void setAbstractLayer(final AbstractLayer layer) { 45 45 this.layer = layer; 46 46 } 47 47 48 48 @Override 49 49 public String toString() { 50 return getClass().getSimpleName() + "[" + getText() + "/" + isSelected() + "]";50 return getClass().getSimpleName() + '[' + getText() + '/' + isSelected() + ']'; 51 51 } 52 52 }
Note:
See TracChangeset
for help on using the changeset viewer.