Changeset 18006 in josm for trunk/src/org/openstreetmap/josm/data/osm/TagMap.java
- Timestamp:
- 2021-07-12T13:33:02+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/TagMap.java
r16977 r18006 7 7 import java.util.ArrayList; 8 8 import java.util.Arrays; 9 import java.util.Collection;10 9 import java.util.ConcurrentModificationException; 11 10 import java.util.Iterator; … … 75 74 throw new UnsupportedOperationException(); 76 75 } 77 78 76 } 79 77 … … 103 101 return tags.length / 2; 104 102 } 105 106 103 } 107 104 … … 158 155 * @since 10736 159 156 */ 160 public TagMap(Collection<Tag> tags) { 157 public TagMap(Iterable<Tag> tags) { 158 this.tags = EMPTY_TAGS; 161 159 for (Tag tag : tags) { 162 160 put(tag.getKey(), tag.getValue());
Note:
See TracChangeset
for help on using the changeset viewer.