Changeset 29222 in osm for applications/editors/josm/plugins/globalsat/src/org
- Timestamp:
- 2013-01-31T14:39:51+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/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 } 20 20 21 22 21 public Map<String, Object> getAttributes() { 23 return attr ibutes;22 return attr; 24 23 } 25 24
Note:
See TracChangeset
for help on using the changeset viewer.