- Timestamp:
- 2020-02-16T23:43:01+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/MultiMap.java
r15717 r15870 121 121 */ 122 122 public Set<B> getValues(A key) { 123 if (!map.containsKey(key)) 124 return new LinkedHashSet<>(); 125 return map.get(key); 123 return map.getOrDefault(key, Collections.emptySet()); 126 124 } 127 125
Note:
See TracChangeset
for help on using the changeset viewer.