Ignore:
Timestamp:
2016-06-20T02:47:43+02:00 (8 years ago)
Author:
Don-vip
Message:

see #13001 - replace calls to Main.main.[add|remove]Layer by Main.getLayerManager().[add|remove]Layer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/command/conflict/ConflictAddCommandTest.java

    r10364 r10436  
    3535        JOSMFixture.createUnitTestFixture().init(true);
    3636        layer = new OsmDataLayer(new DataSet(), null, null);
    37         Main.main.addLayer(layer);
     37        Main.getLayerManager().addLayer(layer);
    3838    }
    3939
     
    4343    @AfterClass
    4444    public static void tearDownAfterClass() {
    45         Main.main.removeLayer(layer);
     45        Main.getLayerManager().removeLayer(layer);
    4646    }
    4747
Note: See TracChangeset for help on using the changeset viewer.