Ignore:
Timestamp:
2021-11-04T16:29:25+01:00 (3 years ago)
Author:
GerdP
Message:

see #14176 - Migrate HistoryOsmPrimitive to Instant

  • replace deprecated code
Location:
applications/editors/josm/plugins/undelete
Files:
2 edited

Legend:

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

    r35521 r35848  
    44    <property name="commit.message" value="adapt to core changes (backwards compatible)"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="16205"/>
     6    <property name="plugin.main.version" value="17838"/>
    77
    88    <property name="plugin.author" value="Nakor"/>
  • applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteAction.java

    r35474 r35848  
    187187                            if (hPrimitive2 != null) {
    188188                                primitive.setChangesetId((int) hPrimitive1.getChangesetId());
    189                                 primitive.setTimestamp(hPrimitive1.getTimestamp());
     189                                primitive.setInstant(hPrimitive1.getInstant());
    190190                                primitive.setUser(hPrimitive1.getUser());
    191191                                primitive.setVisible(hPrimitive1.isVisible());
Note: See TracChangeset for help on using the changeset viewer.