- Timestamp:
- 2021-07-10T19:07:11+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/FilterMatcher.java
r17862 r17980 210 210 private static boolean allParentMultipolygonsFiltered(IPrimitive primitive, boolean hidden) { 211 211 boolean isExplicit = false; 212 for ( Relation r : new SubclassFilteredCollection<IPrimitive, Relation>(213 primitive.getReferrers(), IPrimitive::isMultipolygon)) {212 for (IRelation<?> r : new SubclassFilteredCollection<IPrimitive, IRelation<?>>( 213 primitive.getReferrers(), i -> i.isMultipolygon() && i instanceof IFilterablePrimitive)) { 214 214 if (!isFiltered(r, hidden)) 215 215 return false; 216 isExplicit |= isFilterExplicit( r, hidden);216 isExplicit |= isFilterExplicit((IFilterablePrimitive) r, hidden); 217 217 } 218 218 return isExplicit;
Note:
See TracChangeset
for help on using the changeset viewer.