Changeset 36132 in osm for applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/ReconstructPolygonAction.java
- Timestamp:
- 2023-09-07T16:52:05+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/ReconstructPolygonAction.java
r36102 r36132 174 174 candidateWay = tmp; 175 175 } 176 commands.add( newDeleteCommand(w));176 commands.add(DeleteCommand.delete(Collections.singleton(w))); 177 177 } 178 178 } … … 204 204 } 205 205 206 private boolean isSuitableRelation(Relation newRelation) { 206 private static boolean isSuitableRelation(Relation newRelation) { 207 207 return newRelation != null && "multipolygon".equals(newRelation.get("type")) && newRelation.getMembersCount() != 0; 208 208 }
Note:
See TracChangeset
for help on using the changeset viewer.
