- Timestamp:
- 2020-03-15T17:19:14+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AlignInLineAction.java
r16119 r16136 195 195 List<Node> selectedNodes = new ArrayList<>(ds.getSelectedNodes()); 196 196 List<Way> selectedWays = new ArrayList<>(ds.getSelectedWays()); 197 selectedWays.removeIf( OsmPrimitive::isIncomplete);197 selectedWays.removeIf(w -> w.isIncomplete() || w.isEmpty()); 198 198 199 199 // Decide what to align based on selection:
Note:
See TracChangeset
for help on using the changeset viewer.