Index: applications/editors/josm/plugins/editgpx/build.xml
===================================================================
--- applications/editors/josm/plugins/editgpx/build.xml	(revision 34750)
+++ applications/editors/josm/plugins/editgpx/build.xml	(revision 34751)
@@ -4,5 +4,5 @@
     <property name="commit.message" value="Changed constructor signature of plugin main class"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="14434"/>
+    <property name="plugin.main.version" value="14456"/>
     
     <!-- Configure these properties (replace "..." accordingly).
Index: applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxTrack.java
===================================================================
--- applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxTrack.java	(revision 34750)
+++ applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxTrack.java	(revision 34751)
@@ -52,7 +52,7 @@
                         // convert to anonymous time
                         for (WayPoint w : points) {
-                            double t = w.time - minTime;
+                            double t = w.getTime() - minTime;
                             w.setTimeInMillis((long)(t * 1000));
-                            assert w.time == t;
+                            assert w.getTime() == t;
                             if (w.attr.containsKey("name")) {
                                 w.attr.put("name", "anon"); //time information can also be in "name" field. so delete time information
Index: applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxTrackSegment.java
===================================================================
--- applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxTrackSegment.java	(revision 34750)
+++ applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxTrackSegment.java	(revision 34751)
@@ -49,5 +49,5 @@
      */
     public double minNonDeletedTime() {
-        return Collections.min(getNonDeletedWaypoints()).time;
+        return Collections.min(getNonDeletedWaypoints()).getTime();
     }
 
Index: applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxWayPoint.java
===================================================================
--- applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxWayPoint.java	(revision 34750)
+++ applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxWayPoint.java	(revision 34751)
@@ -14,5 +14,5 @@
 
     public EditGpxWayPoint(WayPoint wayPoint) {
-        this.time = wayPoint.time;
+        this.time = wayPoint.getTime();
         this.coor = new CachedLatLon(wayPoint.getCoor());
         this.attributes = new HashMap<>(wayPoint.attr);
@@ -21,5 +21,5 @@
     public WayPoint createWayPoint() {
         WayPoint result = new WayPoint(getCoor());
-        result.time = time;
+        result.setTime((long) time);
         result.attr = attributes;
         return result;
