Changeset 36134 in osm for applications/editors/josm/plugins/reltoolbox/src
- Timestamp:
- 2023-09-07T18:20:01+02:00 (15 months ago)
- Location:
- applications/editors/josm/plugins/reltoolbox/src/relcontext/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/ReconstructPolygonAction.java
r36132 r36134 174 174 candidateWay = tmp; 175 175 } 176 commands.add(DeleteCommand.delete(Collections.singleton(w))); 176 final Command deleteCommand = DeleteCommand.delete(Collections.singleton(w)); 177 if (deleteCommand != null) { 178 commands.add(deleteCommand); 179 } 177 180 } 178 181 } -
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/TheRing.java
r36132 r36134 399 399 } 400 400 if (!foundOwnWay) { 401 commands.add(DeleteCommand.delete(Collections.singleton(source))); 401 final Command deleteCommand = DeleteCommand.delete(Collections.singleton(source)); 402 if (deleteCommand != null) { 403 commands.add(deleteCommand); 404 } 402 405 } 403 406 commands.addAll(relationCommands);
Note:
See TracChangeset
for help on using the changeset viewer.