Ignore:
Timestamp:
2013-01-31T14:39:51+01:00 (13 years ago)
Author:
bastik
Message:

adapt to changes in JOSM core ([josm5679] and [josm5681])

Location:
applications/editors/josm/plugins/livegps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/livegps/build.xml

    r27852 r29222  
    2727<project name="livegps" default="dist" basedir=".">
    2828    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4980"/>
     29    <property name="plugin.main.version" value="5681"/>
     30    <!--
     31      ************************************************
     32      ** should not be necessary to change the following properties
     33     -->
    3034    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3135    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/livegps/src/livegps/SingleSegmentGpxTrack.java

    r23191 r29222  
    88import org.openstreetmap.josm.data.gpx.GpxTrack;
    99import org.openstreetmap.josm.data.gpx.GpxTrackSegment;
     10import org.openstreetmap.josm.data.gpx.WithAttributes;
    1011
    11 public class SingleSegmentGpxTrack implements GpxTrack {
     12public class SingleSegmentGpxTrack extends WithAttributes implements GpxTrack {
    1213
    13     private final Map<String, Object> attributes;
    1414    private final GpxTrackSegment trackSegment;
    1515
    1616    public SingleSegmentGpxTrack(GpxTrackSegment trackSegment, Map<String, Object> attributes) {
    17         this.attributes = Collections.unmodifiableMap(attributes);
     17        this.attr = Collections.unmodifiableMap(attributes);
    1818        this.trackSegment = trackSegment;
    1919    }
     
    2121
    2222    public Map<String, Object> getAttributes() {
    23         return attributes;
     23        return attr;
    2424    }
    2525
Note: See TracChangeset for help on using the changeset viewer.