Changeset 33009 in osm
- Timestamp:
- 2016-09-24T02:13:48+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 2 deleted
- 3 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(newImmutableGpxTrackSegment(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; -
applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/GlobalsatDg100.java
r32649 r33009 23 23 import org.openstreetmap.josm.data.coor.LatLon; 24 24 import org.openstreetmap.josm.data.gpx.GpxData; 25 import org.openstreetmap.josm.data.gpx.ImmutableGpxTrack Segment;25 import org.openstreetmap.josm.data.gpx.ImmutableGpxTrack; 26 26 import org.openstreetmap.josm.data.gpx.WayPoint; 27 27 import org.openstreetmap.josm.gui.progress.ProgressMonitor; … … 166 166 progressMonitor.worked(1); 167 167 } 168 result.tracks.add(new SingleSegmentGpxTrack(newImmutableGpxTrackSegment(seg), Collections.<String, Object>emptyMap()));168 result.tracks.add(new ImmutableGpxTrack(Collections.singleton(seg), Collections.<String, Object>emptyMap())); 169 169 } 170 170 return result; -
applications/editors/josm/plugins/livegps/src/livegps/SingleSegmentGpxTrack.java
r29769 r33009 18 18 this.trackSegment = trackSegment; 19 19 } 20 21 20 22 21 @Override … … 44 43 return trackSegment.getUpdateCount(); 45 44 } 46 47 45 }
Note:
See TracChangeset
for help on using the changeset viewer.