Changeset 3206 in josm for trunk/src/org/openstreetmap/josm/data/osm/TagCollection.java
- Timestamp:
- 2010-04-25T10:51:06+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/TagCollection.java
r3137 r3206 57 57 * Creates a tag collection from a map of key/value-pairs. Replies 58 58 * an empty tag collection if {@code tags} is null. 59 * 59 * 60 60 * @param tags the key/value-pairs 61 61 * @return the tag collection … … 130 130 TagCollection tags = new TagCollection(); 131 131 if (ds == null) return tags; 132 tags.add(TagCollection.unionOfAllPrimitives(ds.getNodes())); 133 tags.add(TagCollection.unionOfAllPrimitives(ds.getWays())); 134 tags.add(TagCollection.unionOfAllPrimitives(ds.getRelations())); 132 tags.add(TagCollection.unionOfAllPrimitives(ds.allPrimitives())); 135 133 return tags; 136 134 }
Note:
See TracChangeset
for help on using the changeset viewer.