Changeset 14518 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-12-07T12:25:31+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/TagCollection.java
r14303 r14518 123 123 if (primitives == null || primitives.isEmpty()) return tags; 124 124 // initialize with the first 125 //126 125 tags.add(TagCollection.from(primitives.iterator().next())); 127 126 … … 132 131 continue; 133 132 } 134 tags.add(tags.intersect(TagCollection.from(primitive))); 133 tags = tags.intersect(TagCollection.from(primitive)); 134 if (tags.isEmpty()) 135 break; 135 136 } 136 137 return tags;
Note:
See TracChangeset
for help on using the changeset viewer.