Changeset 10657 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java
- Timestamp:
- 2016-07-27T02:08:34+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java
r10627 r10657 25 25 import org.openstreetmap.josm.tools.Pair; 26 26 import org.openstreetmap.josm.tools.Predicates; 27 import org.openstreetmap.josm.tools.SubclassFilteredCollection; 27 28 import org.openstreetmap.josm.tools.Utils; 28 29 … … 320 321 throw new NoSuchElementException(); 321 322 } 322 final Collection<Relation> multipolygons = Utils.filteredCollection( Utils.filter(323 final Collection<Relation> multipolygons = Utils.filteredCollection(SubclassFilteredCollection.filter( 323 324 e.osm.getReferrers(), Predicates.hasTag("type", "multipolygon")), Relation.class); 324 325 final Relation multipolygon = multipolygons.iterator().next();
Note:
See TracChangeset
for help on using the changeset viewer.