Changeset 35221 in osm for applications/editors/josm/plugins/CommandLine
- Timestamp:
- 2019-11-03T22:22:25+01:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/CommandLine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/CommandLine/build.xml
r35209 r35221 4 4 <property name="commit.message" value="JOSM/CommandLine: fix exception after JOSM update"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="15 496"/>6 <property name="plugin.main.version" value="15502"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/CommandLine/src/org/openstreetmap/josm/plugins/commandline/GpxFilter.java
r35209 r35221 8 8 import org.openstreetmap.josm.data.gpx.GpxData; 9 9 import org.openstreetmap.josm.data.gpx.GpxTrack; 10 import org.openstreetmap.josm.data.gpx.IGpxTrack; 10 11 import org.openstreetmap.josm.data.gpx.IGpxTrackSegment; 11 12 import org.openstreetmap.josm.data.gpx.WayPoint; … … 28 29 Collection<Collection<WayPoint>> currentTrack; 29 30 Collection<WayPoint> currentSegment; 30 for (GpxTrack track : data.tracks) { 31 for (IGpxTrack track : data.tracks) { 31 32 currentTrack = new ArrayList<>(); 32 33 for (IGpxTrackSegment segment : track.getSegments()) {
Note:
See TracChangeset
for help on using the changeset viewer.