Changeset 33009 in osm for applications/editors/josm/plugins/dataimport
- Timestamp:
- 2016-09-24T02:13:48+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/TangoGPS.java
r32484 r33009 22 22 import org.openstreetmap.josm.data.coor.LatLon; 23 23 import org.openstreetmap.josm.data.gpx.GpxData; 24 import org.openstreetmap.josm.data.gpx.ImmutableGpxTrack Segment;24 import org.openstreetmap.josm.data.gpx.ImmutableGpxTrack; 25 25 import org.openstreetmap.josm.data.gpx.WayPoint; 26 26 import org.openstreetmap.josm.gui.layer.GpxLayer; … … 78 78 if(imported > 0) { 79 79 GpxData data = new GpxData(); 80 data.tracks.add(new SingleSegmentGpxTrack(new ImmutableGpxTrackSegment(currentTrackSeg), Collections.<String, Object>emptyMap()));80 data.tracks.add(new ImmutableGpxTrack(Collections.singleton(currentTrackSeg), Collections.<String, Object>emptyMap())); 81 81 data.recalculateBounds(); 82 82 data.storageFile = file;
Note:
See TracChangeset
for help on using the changeset viewer.