Changeset 2363 in josm for trunk/src/org/openstreetmap/josm/data/osm/Node.java
- Timestamp:
- 2009-10-31T19:56:25+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r2284 r2363 112 112 113 113 @Override public String toString() { 114 if (coor == null) return "{Node id="+getId()+"}";115 return "{Node id=" +getId()+",version="+getVersion()+",lat="+coor.lat()+",lon="+coor.lon()+"}";114 String coorDesc = coor == null?"":"lat="+coor.lat()+",lon="+coor.lon(); 115 return "{Node id=" + getUniqueId() + " version=" + getVersion() + " " + getFlagsAsString() + " " + coorDesc+"}"; 116 116 } 117 117
Note:
See TracChangeset
for help on using the changeset viewer.
