Changeset 35999 in osm for applications


Ignore:
Timestamp:
2022-07-06T15:06:53+02:00 (2 years ago)
Author:
taylor.smock
Message:

ReverterUploadHook: Properly merge created_by changeset tag

File:
1 edited

Legend:

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

    r35972 r35999  
    3232            for (Command cmd : UndoRedoHandler.getInstance().getUndoCommands()) {
    3333                if (Objects.equals(MainApplication.getLayerManager().getEditDataSet(), cmd.getAffectedDataSet()) && isReverterCmd(cmd)) {
    34                     tags.put("created_by", pluginString);
     34                    tags.merge("created_by", pluginString, (oldValue, value) -> String.join(";", value, oldValue));
    3535                    break;
    3636                }
Note: See TracChangeset for help on using the changeset viewer.