Changeset 19078 in josm for trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java
- Timestamp:
- 2024-05-13T20:34:55+02:00 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java
r18615 r19078 2 2 package org.openstreetmap.josm.actions; 3 3 4 import static java.util.function.Predicate.not; 4 5 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 5 6 import static org.openstreetmap.josm.tools.I18n.tr; … … 272 273 fixNodes.addAll(collectNodesWithExternReferrers(ways)); 273 274 274 // Check if one or more nodes are outside of download area275 if (nodes.stream().anyMatch( Node::isOutsideDownloadArea))276 throw new InvalidSelection(tr("One or more nodes involved in this action is outside of the downloaded area."));275 // Check if one or more nodes does not have all parents available 276 if (nodes.stream().anyMatch(not(Node::isReferrersDownloaded))) 277 throw new InvalidSelection(tr("One or more nodes involved in this action may have additional referrers.")); 277 278 278 279
Note:
See TracChangeset
for help on using the changeset viewer.