Changeset 1690 in josm for trunk/src/org/openstreetmap/josm/data/osm/Relation.java
- Timestamp:
- 23.06.2009 22:03:37 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Relation.java
r1677 r1690 70 70 } 71 71 72 @Deprecated 72 73 @Override public boolean realEqual(OsmPrimitive osm, boolean semanticOnly) { 73 74 return osm instanceof Relation ? super.realEqual(osm, semanticOnly) && members.equals(((Relation)osm).members) : false; 75 } 76 77 @Override 78 public boolean hasEqualSemanticAttributes(OsmPrimitive other) { 79 if (other == null || ! (other instanceof Relation) ) 80 return false; 81 if (! super.hasEqualSemanticAttributes(other)) 82 return false; 83 Relation r = (Relation)other; 84 return members.equals(r.members); 74 85 } 75 86
Note: See TracChangeset
for help on using the changeset viewer.
