Index: trunk/src/org/openstreetmap/josm/data/osm/Node.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/Node.java	(revision 16360)
+++ trunk/src/org/openstreetmap/josm/data/osm/Node.java	(revision 16361)
@@ -357,5 +357,7 @@
      * @param predicate predicate to match
      * @return {@code true} if {@code this} node mets the conditions
-     */
+     * @deprecated: Was used by UnconnectedWays test
+     */
+    @Deprecated
     public boolean isConnectedTo(final Collection<Node> otherNodes, final int hops, Predicate<Node> predicate) {
         CheckParameterUtil.ensureParameterNotNull(otherNodes);
@@ -366,5 +368,5 @@
                 : isConnectedTo(otherNodes, hops, predicate, new TreeSet<>());
     }
-
+    @Deprecated
     private boolean isConnectedTo(final Collection<Node> otherNodes, final int hops, Predicate<Node> predicate, Set<Node> visited) {
         if (otherNodes.contains(this)) {
