- Timestamp:
- 2010-03-15T21:21:22+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r3046 r3140 127 127 } 128 128 @Override public boolean match(OsmPrimitive osm) { 129 return osm.getUniqueId() == id;129 return id == 0?osm.isNew():osm.getUniqueId() == id; 130 130 } 131 131 @Override public String toString() {return "id="+id;}
Note:
See TracChangeset
for help on using the changeset viewer.