Changeset 17380 in osm for applications/editors/josm


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

Cleanup of deprecated data API

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

Legend:

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

    r16594 r17380  
    3535                <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
    3636                <attribute name="Plugin-Description" value="Renders routes (bus, hiking trails, bicycle routes, ..). Route types must be defined in routes.xml file in plugin directory"/>
    37                 <attribute name="Plugin-Mainversion" value="1815"/>
     37                <attribute name="Plugin-Mainversion" value="2012"/>
    3838                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3939            </manifest>
  • applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/ConvertedWay.java

    r16428 r17380  
    4848        public ConvertedWay(BitSet routes, Way way) {
    4949                this.routes = routes;
    50                 nodes.addAll(way.nodes);
     50                nodes.addAll(way.getNodes());
    5151        }
    5252       
  • applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/PathBuilder.java

    r16428 r17380  
    1818        public void addWay(Way way, RouteDefinition route) {
    1919
    20                 if (way.nodes.size() >= 2) {
     20                if (way.getNodesCount() >= 2) {
    2121                        BitSet routes = wayRoutes.get(way);
    2222                        if (routes == null) {
Note: See TracChangeset for help on using the changeset viewer.