Ignore:
Timestamp:
2017-08-27T17:07:54+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - move ConflictCollection from OsmDataLayer to DataSet. Simplifies some code where a data set is enough, and a layer is not needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictDialog.java

    r12643 r12672  
    218218     */
    219219    public void refreshView() {
    220         OsmDataLayer editLayer = MainApplication.getLayerManager().getEditLayer();
     220        DataSet editDs = MainApplication.getLayerManager().getEditDataSet();
    221221        synchronized (this) {
    222             conflicts = editLayer == null ? new ConflictCollection() : editLayer.getConflicts();
     222            conflicts = editDs == null ? new ConflictCollection() : editDs.getConflicts();
    223223        }
    224224        GuiHelper.runInEDT(() -> {
Note: See TracChangeset for help on using the changeset viewer.