Changeset 16361 in josm
- Timestamp:
- 2020-04-20T09:20:18+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r16212 r16361 357 357 * @param predicate predicate to match 358 358 * @return {@code true} if {@code this} node mets the conditions 359 */ 359 * @deprecated: Was used by UnconnectedWays test 360 */ 361 @Deprecated 360 362 public boolean isConnectedTo(final Collection<Node> otherNodes, final int hops, Predicate<Node> predicate) { 361 363 CheckParameterUtil.ensureParameterNotNull(otherNodes); … … 366 368 : isConnectedTo(otherNodes, hops, predicate, new TreeSet<>()); 367 369 } 368 370 @Deprecated 369 371 private boolean isConnectedTo(final Collection<Node> otherNodes, final int hops, Predicate<Node> predicate, Set<Node> visited) { 370 372 if (otherNodes.contains(this)) {
Note:
See TracChangeset
for help on using the changeset viewer.