Changeset 15628 in josm
- Timestamp:
- 2020-01-02T22:34:59+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r15617 r15628 117 117 ways = new LinkedHashSet<>(ways); 118 118 // remove incomplete ways 119 ways.removeIf( w -> w.isIncomplete() || w.isOutsideDownloadArea());119 ways.removeIf(OsmPrimitive::isIncomplete); 120 120 // we need at least two ways 121 121 if (ways.size() < 2) … … 326 326 if (OsmUtils.isOsmCollectionEditable(selection)) { 327 327 for (OsmPrimitive osm : selection) { 328 if (osm instanceof Way && !osm.isIncomplete() && !((Way) osm).isOutsideDownloadArea() 329 && ++numWays >= 2) { 328 if (osm instanceof Way && !osm.isIncomplete() && ++numWays >= 2) { 330 329 break; 331 330 }
Note:
See TracChangeset
for help on using the changeset viewer.