Changeset 10378 in josm for trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
- Timestamp:
- 2016-06-15T10:30:37+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r10040 r10378 634 634 } 635 635 super.setIncomplete(incomplete); 636 } 636 } finally { 637 637 writeUnlock(locked); 638 638 } … … 1266 1266 1267 1267 boolean hasEqualSemanticAttributes(final OsmPrimitive other, final boolean testInterestingTagsOnly) { 1268 if (!isNew() && 1268 if (!isNew() && id != other.id) 1269 1269 return false; 1270 1270 if (isIncomplete() ^ other.isIncomplete()) // exclusive or operator for performance (see #7159) … … 1291 1291 if (other == null) return false; 1292 1292 1293 return 1293 return isDeleted() == other.isDeleted() 1294 1294 && isModified() == other.isModified() 1295 1295 && timestamp == other.timestamp
Note:
See TracChangeset
for help on using the changeset viewer.