Changeset 9979 in josm for trunk/src/org
- Timestamp:
- 2016-03-13T01:17:21+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r9243 r9979 281 281 282 282 @Override 283 public boolean hasEqualSemanticAttributes(OsmPrimitive other) { 283 public boolean hasEqualSemanticAttributes(OsmPrimitive other, boolean testInterestingTagsOnly) { 284 284 if (!(other instanceof Node)) 285 285 return false; 286 if (!super.hasEqualSemanticAttributes(other)) 286 if (!super.hasEqualSemanticAttributes(other, testInterestingTagsOnly)) 287 287 return false; 288 288 Node n = (Node) other; -
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r9970 r9979 1237 1237 * @return true if this primitive and other are equal with respect to their semantic attributes. 1238 1238 */ 1239 public boolean hasEqualSemanticAttributes(OsmPrimitive other) { 1239 public final boolean hasEqualSemanticAttributes(OsmPrimitive other) { 1240 1240 return hasEqualSemanticAttributes(other, true); 1241 1241 } -
trunk/src/org/openstreetmap/josm/data/osm/Relation.java
r9716 r9979 287 287 288 288 @Override 289 public boolean hasEqualSemanticAttributes(OsmPrimitive other) { 289 public boolean hasEqualSemanticAttributes(OsmPrimitive other, boolean testInterestingTagsOnly) { 290 290 if (!(other instanceof Relation)) 291 291 return false; 292 if (!super.hasEqualSemanticAttributes(other)) 292 if (!super.hasEqualSemanticAttributes(other, testInterestingTagsOnly)) 293 293 return false; 294 294 Relation r = (Relation) other; -
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r9460 r9979 331 331 332 332 @Override 333 public boolean hasEqualSemanticAttributes(OsmPrimitive other) { 333 public boolean hasEqualSemanticAttributes(OsmPrimitive other, boolean testInterestingTagsOnly) { 334 334 if (!(other instanceof Way)) 335 335 return false; 336 if (!super.hasEqualSemanticAttributes(other)) 336 if (!super.hasEqualSemanticAttributes(other, testInterestingTagsOnly)) 337 337 return false; 338 338 Way w = (Way) other;
Note:
See TracChangeset
for help on using the changeset viewer.