Changeset 17371 in osm for applications/editors


Ignore:
Timestamp:
2009-08-30T18:10:42+02:00 (15 years ago)
Author:
guggis
Message:

Cleanup of deprecated data API

Location:
applications/editors/josm/plugins/graphview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/graphview/build.xml

    r17210 r17371  
    5757                <attribute name="Plugin-Description" value="Visualizes routing information as a routing graph."/>
    5858                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Graphview"/>
    59                 <attribute name="Plugin-Mainversion" value="1986"/>
     59                <attribute name="Plugin-Mainversion" value="2012"/>
    6060                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    6161            </manifest>
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/data/JOSMDataSource.java

    r16630 r17371  
    4646
    4747        public Iterable<Node> getNodes(Way way) {
    48                 return new FilteredOsmPrimitiveIterable<Node>(way.nodes);
     48                return new FilteredOsmPrimitiveIterable<Node>(way.getNodes());
    4949        }
    5050
     
    7474
    7575        private TagGroup getTags(OsmPrimitive primitive) {
    76                 if (primitive.keys == null) {
     76                if (primitive.getKeys() == null) {
    7777                        return EMPTY_TAG_GROUP;
    7878                } else {
    79                         return new MapBasedTagGroup(primitive.keys);
     79                        return new MapBasedTagGroup(primitive.getKeys());
    8080                }
    8181        }
Note: See TracChangeset for help on using the changeset viewer.