Ignore:
Timestamp:
2021-04-09T19:06:40+02:00 (4 years ago)
Author:
simon04
Message:

see #14176 - reverter: adapt ChangesetReverter for r17717

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reverter/src/reverter/ChangesetReverter.java

    r35556 r35732  
    512512                            if (!history.isEmpty()) {
    513513                                Node historyNode = (Node) history.allPrimitives().iterator().next();
    514                                 if (historyNode.isLatLonKnown() && changeset.getClosedAt().after(historyNode.getTimestamp())) {
     514                                if (historyNode.isLatLonKnown() && changeset.getClosedAt().toEpochMilli() > historyNode.getTimestamp().getTime()) {
    515515                                    n.load(historyNode.save());
    516516                                    break;
Note: See TracChangeset for help on using the changeset viewer.