Ignore:
Timestamp:
2010-04-25T10:51:06+02:00 (14 years ago)
Author:
jttt
Message:

Remove obsoleted methods from Dataset, replace some calls of getNodes()/getWays()/getRelations() with allPrimitives()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/TagCollection.java

    r3137 r3206  
    5757     * Creates a tag collection from a map of key/value-pairs. Replies
    5858     * an empty tag collection if {@code tags} is null.
    59      * 
     59     *
    6060     * @param tags  the key/value-pairs
    6161     * @return the tag collection
     
    130130        TagCollection tags = new TagCollection();
    131131        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()));
    135133        return tags;
    136134    }
Note: See TracChangeset for help on using the changeset viewer.