Ignore:
Timestamp:
2020-04-04T07:29:00+02:00 (5 years ago)
Author:
gerdp
Message:

see #19028: Plugin reverter uses a more recent API that minimal requested

  • revert changes down to 35400 to be able to dist a release that works with older JOSM versions
File:
1 edited

Legend:

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

    r35402 r35407  
    5353
    5454    private void addChangeCommandIfNotEquals(OsmPrimitive target, OsmPrimitive newTarget, boolean nominal) {
    55                 if (!target.hasEqualSemanticAttributes(newTarget) || target.isDeleted() != newTarget.isDeleted()
    56                                 || target.isVisible() != newTarget.isVisible()
    57                                 || !getNonDiscardableTags(target).equals(getNonDiscardableTags(newTarget))) {
     55        if (target.isIncomplete() != newTarget.isIncomplete() || target.isDeleted() != newTarget.isDeleted()
     56                || target.isVisible() != newTarget.isVisible()
     57                || !getNonDiscardableTags(target).equals(getNonDiscardableTags(newTarget))) {
    5858            cmds.add(new ChangeCommand(target, newTarget));
    5959            if (nominal) {
Note: See TracChangeset for help on using the changeset viewer.