Changeset 14654 in josm for trunk/src/org/openstreetmap/josm/tools/RotationAngle.java
- Timestamp:
- 2019-01-06T20:22:48+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/RotationAngle.java
r13623 r14654 2 2 package org.openstreetmap.josm.tools; 3 3 4 import java.util.List; 4 5 import java.util.Locale; 5 6 6 7 import org.openstreetmap.josm.data.osm.IPrimitive; 7 8 import org.openstreetmap.josm.data.osm.Node; 8 import org.openstreetmap.josm.data.osm.OsmPrimitive;9 9 import org.openstreetmap.josm.data.osm.Way; 10 10 … … 28 28 } 29 29 final Node n = (Node) p; 30 final SubclassFilteredCollection<OsmPrimitive, Way> ways = Utils.filteredCollection(n.getReferrers(), Way.class);30 final List<Way> ways = n.getParentWays(); 31 31 if (ways.isEmpty()) { 32 32 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.