Index: applications/editors/josm/plugins/CommandLine/build.xml
===================================================================
--- applications/editors/josm/plugins/CommandLine/build.xml	(revision 35210)
+++ applications/editors/josm/plugins/CommandLine/build.xml	(revision 35221)
@@ -4,5 +4,5 @@
     <property name="commit.message" value="JOSM/CommandLine: fix exception after JOSM update"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="15496"/>
+    <property name="plugin.main.version" value="15502"/>
 
     <!-- Configure these properties (replace "..." accordingly).
Index: applications/editors/josm/plugins/CommandLine/src/org/openstreetmap/josm/plugins/commandline/GpxFilter.java
===================================================================
--- applications/editors/josm/plugins/CommandLine/src/org/openstreetmap/josm/plugins/commandline/GpxFilter.java	(revision 35210)
+++ applications/editors/josm/plugins/CommandLine/src/org/openstreetmap/josm/plugins/commandline/GpxFilter.java	(revision 35221)
@@ -8,4 +8,5 @@
 import org.openstreetmap.josm.data.gpx.GpxData;
 import org.openstreetmap.josm.data.gpx.GpxTrack;
+import org.openstreetmap.josm.data.gpx.IGpxTrack;
 import org.openstreetmap.josm.data.gpx.IGpxTrackSegment;
 import org.openstreetmap.josm.data.gpx.WayPoint;
@@ -28,5 +29,5 @@
         Collection<Collection<WayPoint>> currentTrack;
         Collection<WayPoint> currentSegment;
-        for (GpxTrack track : data.tracks) {
+        for (IGpxTrack track : data.tracks) {
             currentTrack = new ArrayList<>();
             for (IGpxTrackSegment segment : track.getSegments()) {
