Changeset 35949 in osm for applications/editors/josm/plugins
- Timestamp:
- 2022-03-31T21:11:37+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ColumbusCSV/src/org/openstreetmap/josm/plugins/columbusCSV/ColumbusCSVReader.java
r35781 r35949 26 26 import org.openstreetmap.josm.data.gpx.GpxLink; 27 27 import org.openstreetmap.josm.data.gpx.GpxTrack; 28 import org.openstreetmap.josm.data.gpx.ImmutableGpxTrack;29 28 import org.openstreetmap.josm.data.gpx.WayPoint; 30 29 import org.openstreetmap.josm.io.IllegalDataException; … … 74 73 private static final String TYPE_TAG = "columbus:type"; 75 74 76 private static String[] EMPTY_LINE = new String[] {};75 private static final String[] EMPTY_LINE = new String[] {}; 77 76 private static final String SEPS = ","; 78 77 /* Lines to read before deciding on Columbus file yes/no */ … … 165 164 br.close(); 166 165 throw new IllegalDataException(tr("Error in line " + line 167 + ": " + ex .toString()), ex);166 + ": " + ex), ex); 168 167 } 169 168 ++line; … … 183 182 // compose the track 184 183 allTrackPts.add(trackPts); 185 GpxTrack trk = new ImmutableGpxTrack(allTrackPts,186 Collections. <String, Object>emptyMap());184 GpxTrack trk = new GpxTrack(allTrackPts, 185 Collections.emptyMap()); 187 186 gpxData.tracks.add(trk); 188 187
Note:
See TracChangeset
for help on using the changeset viewer.