Changeset 17799 in josm for trunk/src/org
- Timestamp:
- 2021-04-19T21:45:09+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactory.java
r17765 r17799 645 645 @Override 646 646 public boolean applies(Tagged osm) { 647 return osm.keys().anyMatch(pattern.asPredicate()) ^ negateResult; 647 boolean matches = osm.hasKeys() && osm.keys().anyMatch(pattern.asPredicate()); 648 return matches ^ negateResult; 648 649 } 649 650
Note:
See TracChangeset
for help on using the changeset viewer.