Changeset 11292 in josm for trunk/src/org/openstreetmap/josm/data/osm/Relation.java
- Timestamp:
- 2016-11-22T15:42:54+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Relation.java
r11269 r11292 303 303 @Override 304 304 public boolean hasEqualSemanticAttributes(OsmPrimitive other, boolean testInterestingTagsOnly) { 305 if (!(other instanceof Relation)) 306 return false; 307 if (!super.hasEqualSemanticAttributes(other, testInterestingTagsOnly)) 308 return false; 309 Relation r = (Relation) other; 310 return Arrays.equals(members, r.members); 305 return (other instanceof Relation) 306 && hasEqualSemanticFlags(other) 307 && Arrays.equals(members, ((Relation) other).members) 308 && super.hasEqualSemanticAttributes(other, testInterestingTagsOnly); 311 309 } 312 310
Note:
See TracChangeset
for help on using the changeset viewer.