Changeset 4480 in osm
- Timestamp:
- 2007-09-06T23:16:00+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/core_0.5/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r4466 r4480 9 9 import org.openstreetmap.josm.data.osm.Node; 10 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 11 import org.openstreetmap.josm.data.osm.Relation; 11 12 import org.openstreetmap.josm.data.osm.Way; 12 13 … … 113 114 if (osm instanceof Way) 114 115 return type.equals("way"); 116 if (osm instanceof Relation) 117 return type.equals("relation"); 115 118 throw new IllegalStateException("unknown class "+osm.getClass()); 116 119 }
Note:
See TracChangeset
for help on using the changeset viewer.