Changeset 68 in josm for src/org/openstreetmap/josm/data
- Timestamp:
- 2006-03-24T01:45:42+01:00 (18 years ago)
- Location:
- src/org/openstreetmap/josm/data/osm
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r66 r68 127 127 @Override 128 128 public boolean equals(Object obj) { 129 if ( getClass() != obj.getClass() || id == 0 || obj == null|| ((OsmPrimitive)obj).id == 0)129 if (obj == null || getClass() != obj.getClass() || id == 0 || ((OsmPrimitive)obj).id == 0) 130 130 return super.equals(obj); 131 131 return id == ((OsmPrimitive)obj).id;
Note:
See TracChangeset
for help on using the changeset viewer.