Changeset 19181 in josm for trunk/scripts/TagInfoExtract.java
- Timestamp:
- 2024-08-12T18:00:21+02:00 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/TagInfoExtract.java
r19113 r19181 20 20 import java.util.Collections; 21 21 import java.util.EnumSet; 22 import java.util.HashSet;23 22 import java.util.LinkedHashMap; 24 23 import java.util.List; … … 616 615 617 616 static Set<TagInfoTag.Type> forPresetTypes(Set<TaggingPresetType> types) { 618 return types == null ? new HashSet<>() : types.stream()617 return types == null ? new EnumSet<>() : types.stream() 619 618 .map(Type::forPresetType) 620 619 .collect(Collectors.toCollection(() -> EnumSet.noneOf(Type.class)));
Note:
See TracChangeset
for help on using the changeset viewer.