Changeset 34978 in osm for applications/editors/josm/plugins
- Timestamp:
- 2019-04-14T10:59:36+02:00 (5 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/model/TurnlanesUtils.java
r34977 r34978 20 20 import org.openstreetmap.josm.plugins.turnlanes.CollectionUtils; 21 21 22 public final class Utils {22 public final class TurnlanesUtils { 23 23 private static final Set<String> ROAD_HIGHWAY_VALUES = Collections.unmodifiableSet(new HashSet<>(Arrays 24 24 .asList("motorway", "motorway_link", "trunk", "trunk_link", "primary", "primary_link", "secondary", … … 26 26 "track", "pedestrian", "raceway", "services"))); 27 27 28 private Utils() {28 private TurnlanesUtils() { 29 29 // Hide default constructor for utilities classes 30 30 } … … 38 38 39 39 for (OsmPrimitive p : of) { 40 if (p.getType() == OsmPrimitiveType.WAY && Utils.isRoad((Way) p)) {40 if (p.getType() == OsmPrimitiveType.WAY && isRoad((Way) p)) { 41 41 result.add((Way) p); 42 42 } … … 219 219 for (Route.Segment s : segments) { 220 220 result.add(s.getWay()); 221 n = Utils.getOppositeEnd(s.getWay(), n);221 n = getOppositeEnd(s.getWay(), n); 222 222 } 223 223 }
Note:
See TracChangeset
for help on using the changeset viewer.