Changeset 35931 in osm for applications
- Timestamp:
- 2022-03-22T18:42:28+01:00 (3 years ago)
- Location:
- applications/editors/josm/plugins/editgpx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/editgpx/build.xml
r35221 r35931 4 4 <property name="commit.message" value="Changed constructor signature of plugin main class"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="1 5502"/>6 <property name="plugin.main.version" value="17715"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/data/EditGpxWayPoint.java
r34751 r35931 1 1 package org.openstreetmap.josm.plugins.editgpx.data; 2 2 3 import java.time.Instant; 3 4 import java.util.HashMap; 4 5 import java.util.Map; … … 21 22 public WayPoint createWayPoint() { 22 23 WayPoint result = new WayPoint(getCoor()); 23 result.set Time((long) time);24 result.setInstant(Instant.ofEpochSecond((long) time)); 24 25 result.attr = attributes; 25 26 return result;
Note:
See TracChangeset
for help on using the changeset viewer.