Changeset 35177 in osm for applications/editors/josm/plugins/utilsplugin2/src
- Timestamp:
- 2019-10-05T23:59:42+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/NodeWayUtils.java
r34932 r35177 41 41 42 42 private static <T extends OsmPrimitive> void filteredAdd(Collection<T> collection, T element) { 43 if (!element.isDisabled() ) {43 if (!element.isDisabled() && element.isUsable()) { 44 44 collection.add(element); 45 45 } … … 147 147 148 148 static int addWaysIntersectingWay(Collection<Way> ways, Way w, Set<Way> newWays) { 149 Set<Way> excludeWays = new HashSet<Way>(); 150 return addWaysIntersectingWay(ways, w, newWays, excludeWays); 149 return addWaysIntersectingWay(ways, w, newWays, new HashSet<>()); 151 150 } 152 151
Note:
See TracChangeset
for help on using the changeset viewer.