Index: applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/ConnectWays.java
===================================================================
--- applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/ConnectWays.java	(revision 34564)
+++ applications/editors/josm/plugins/tracer2/src/org/openstreetmap/josm/plugins/tracer2/ConnectWays.java	(revision 34976)
@@ -25,4 +25,5 @@
 import org.openstreetmap.josm.plugins.tracer2.preferences.ServerParam;
 import org.openstreetmap.josm.tools.Pair;
+import org.openstreetmap.josm.tools.Utils;
 
 public final class ConnectWays {
@@ -70,5 +71,5 @@
     private static List<Way> getWaysOfNode(Node node) {
         List<Way> ways;
-        ways = OsmPrimitive.getFilteredList(node.getReferrers(), Way.class);
+        ways = new LinkedList<>(Utils.filteredCollection(node.getReferrers(), Way.class));
         return ways;
     }
