Ignore:
Timestamp:
2009-11-02T21:12:54+01:00 (15 years ago)
Author:
jttt
Message:

Replace Dataset.nodes with getNodes(), etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RouteLayer.java

    r17564 r18427  
    11package org.openstreetmap.josm.plugins.routes;
    22
    3 import java.awt.Stroke;
    43import java.awt.Color;
    54import java.awt.Component;
    65import java.awt.Graphics;
    76import java.awt.Graphics2D;
     7import java.awt.Stroke;
    88import java.util.ArrayList;
    99import java.util.List;
     
    105105                pathBuilder.clear();
    106106
    107                 for (Relation relation:dataset.relations) {
     107                for (Relation relation:dataset.getRelations()) {
    108108                        for (RouteDefinition route:routes) {
    109109                                if (route.matches(relation)) {
     
    113113                }
    114114
    115                 for (Way way:dataset.ways) {
     115                for (Way way:dataset.getWays()) {
    116116                        for (RouteDefinition route:routes) {
    117117                                if (route.matches(way)) {
Note: See TracChangeset for help on using the changeset viewer.