Ignore:
Timestamp:
2017-08-24T01:24:27+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - remove last calls to Main.map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/session/SessionReaderTest.java

    r12564 r12631  
    1414import org.openstreetmap.josm.Main;
    1515import org.openstreetmap.josm.TestUtils;
     16import org.openstreetmap.josm.gui.MainApplication;
    1617import org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer;
    1718import org.openstreetmap.josm.gui.layer.GpxLayer;
     
    140141    @Test
    141142    public void testReadNotes() throws IOException, IllegalDataException {
    142         if (Main.isDisplayingMapView()) {
     143        if (MainApplication.isDisplayingMapView()) {
    143144            for (NoteLayer nl : Main.getLayerManager().getLayersOfType(NoteLayer.class)) {
    144145                Main.getLayerManager().removeLayer(nl);
Note: See TracChangeset for help on using the changeset viewer.