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

Cleanup of deprecated data API

Location:
applications/editors/josm/plugins/routing
Files:
3 edited

Legend:

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

    r16799 r17382  
    4444                <attribute name="Plugin-Description" value="Provides routing capabilities."/>
    4545                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Routing"/>
    46                 <attribute name="Plugin-Mainversion" value="1893"/>
     46                <attribute name="Plugin-Mainversion" value="2012"/>
    4747                <attribute name="Plugin-Stage" value="50"/>
    4848                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/jrt/core/RoutingGraph.java

    r16290 r17382  
    133133            if (way != null && !way.deleted && this.isvalidWay(way)) {
    134134                Node from = null;
    135                 for (Node to : way.nodes) {
     135                for (Node to : way.getNodes()) {
    136136                    // Ignore the node if deleted
    137137                    if (!to.deleted) {
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingLayer.java

    r16799 r17382  
    135135        for (Way w : dataLayer.data.ways) {
    136136            if (w.deleted || w.incomplete || w.get("highway")==null) continue;
    137             for (Node n : w.nodes) {
     137            for (Node n : w.getNodes()) {
    138138                if (n.deleted || n.incomplete) continue;
    139139
Note: See TracChangeset for help on using the changeset viewer.