Changeset 11779 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests/PowerLines.java
- Timestamp:
- 2017-03-25T23:34:39+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/PowerLines.java
r11608 r11779 9 9 import java.util.List; 10 10 11 import org.openstreetmap.josm.Main;12 11 import org.openstreetmap.josm.data.osm.Node; 13 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 29 28 public class PowerLines extends Test { 30 29 30 /** Test identifier */ 31 31 protected static final int POWER_LINES = 2501; 32 32 … … 106 106 nodesLists.add(((Way) station).getNodes()); 107 107 } else if (station instanceof Relation) { 108 Multipolygon polygon = MultipolygonCache.getInstance().get( Main.map.mapView,(Relation) station);108 Multipolygon polygon = MultipolygonCache.getInstance().get((Relation) station); 109 109 if (polygon != null) { 110 110 for (JoinedWay outer : Multipolygon.joinWays(polygon.getOuterWays())) {
Note:
See TracChangeset
for help on using the changeset viewer.