Changeset 29222 in osm for applications/editors/josm/plugins/dataimport
- Timestamp:
- 2013-01-31T14:39:51+01:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/dataimport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/dataimport/build.xml
r26605 r29222 31 31 <property name="commit.message" value="Changed constructor signature, updated build.xml"/> 32 32 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 33 <property name="plugin.main.version" value=" 4394"/>33 <property name="plugin.main.version" value="5681"/> 34 34 <!-- 35 35 ************************************************ -
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/SingleSegmentGpxTrack.java
r23191 r29222 8 8 import org.openstreetmap.josm.data.gpx.GpxTrack; 9 9 import org.openstreetmap.josm.data.gpx.GpxTrackSegment; 10 import org.openstreetmap.josm.data.gpx.WithAttributes; 10 11 11 public class SingleSegmentGpxTrack implements GpxTrack { 12 public class SingleSegmentGpxTrack extends WithAttributes implements GpxTrack { 12 13 13 private final Map<String, Object> attributes;14 14 private final GpxTrackSegment trackSegment; 15 15 16 16 public SingleSegmentGpxTrack(GpxTrackSegment trackSegment, Map<String, Object> attributes) { 17 this.attr ibutes= Collections.unmodifiableMap(attributes);17 this.attr = Collections.unmodifiableMap(attributes); 18 18 this.trackSegment = trackSegment; 19 19 } … … 21 21 22 22 public Map<String, Object> getAttributes() { 23 return attr ibutes;23 return attr; 24 24 } 25 25
Note:
See TracChangeset
for help on using the changeset viewer.