Changeset 643 in josm
- Timestamp:
- 2008-05-19T02:20:32+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r627 r643 54 54 55 55 @Override public boolean realEqual(OsmPrimitive osm, boolean semanticOnly) { 56 return osm instanceof Node ? super.realEqual(osm, semanticOnly) && coor.equals(((Node)osm).coor) : false; 56 if (osm instanceof Node) { 57 if (super.realEqual(osm, semanticOnly)) { 58 if ((coor == null) && ((Node)osm).coor == null) 59 return true; 60 if (coor != null) 61 return coor.equals(((Node)osm).coor); 62 } 63 } 64 return false; 57 65 } 58 66
Note:
See TracChangeset
for help on using the changeset viewer.