Changeset 19195 in josm for trunk/src/org
- Timestamp:
- 2024-08-14T19:44:54+02:00 (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java
r19172 r19195 719 719 Map<String, String> matchingTags = tp.data.stream() 720 720 .filter(i -> Boolean.TRUE.equals(i.matches(tags))) 721 .filter( i -> i instanceofKeyedItem).map(i -> ((KeyedItem) i).key)722 .collect(Collectors.toMap(k -> k, tags::get)); 721 .filter(KeyedItem.class::isInstance).map(i -> ((KeyedItem) i).key) 722 .collect(Collectors.toMap(k -> k, tags::get, (o, n) -> n)); 723 723 if (matchingPresetsOK.stream().noneMatch( 724 724 tp2 -> matchingTags.entrySet().stream().allMatch(
Note:
See TracChangeset
for help on using the changeset viewer.