Changeset 12636 in josm for trunk/test/functional


Ignore:
Timestamp:
2017-08-24T22:53:50+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.getLayerManager(). Replacement: gui.MainApplication.getLayerManager()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/gui/mappaint/StyleCacheTest.java

    r11818 r12636  
    1717import org.junit.Rule;
    1818import org.junit.Test;
    19 import org.openstreetmap.josm.Main;
    2019import org.openstreetmap.josm.data.Bounds;
    2120import org.openstreetmap.josm.data.osm.DataSet;
     
    2322import org.openstreetmap.josm.data.osm.visitor.paint.Rendering;
    2423import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer;
     24import org.openstreetmap.josm.gui.MainApplication;
    2525import org.openstreetmap.josm.gui.MapView;
    2626import org.openstreetmap.josm.gui.NavigatableComponent;
     
    9393        g.setColor(Color.BLACK);
    9494        g.fillRect(0, 0, IMG_WIDTH, IMG_WIDTH);
    95         nc = new MapView(Main.getLayerManager(), null);
     95        nc = new MapView(MainApplication.getLayerManager(), null);
    9696        nc.setBounds(0, 0, IMG_WIDTH, IMG_HEIGHT);
    9797    }
Note: See TracChangeset for help on using the changeset viewer.