Changeset 12630 in josm for trunk/test/performance/org


Ignore:
Timestamp:
2017-08-24T00:15:51+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.map and Main.isDisplayingMapView(). Replacements: gui.MainApplication.getMap() / gui.MainApplication.isDisplayingMapView()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/performance/org/openstreetmap/josm/gui/mappaint/MapRendererPerformanceTest.java

    r12620 r12630  
    2626import org.junit.rules.Timeout;
    2727import org.openstreetmap.josm.JOSMFixture;
    28 import org.openstreetmap.josm.Main;
    2928import org.openstreetmap.josm.PerformanceTestUtils;
    3029import org.openstreetmap.josm.TestUtils;
     
    3635import org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.StyleRecord;
    3736import org.openstreetmap.josm.data.projection.Projections;
     37import org.openstreetmap.josm.gui.MainApplication;
    3838import org.openstreetmap.josm.gui.NavigatableComponent;
    3939import org.openstreetmap.josm.gui.mappaint.StyleSetting.BooleanStyleSetting;
     
    9595        g.setColor(Color.BLACK);
    9696        g.fillRect(0, 0, IMG_WIDTH, IMG_WIDTH);
    97         nc = Main.map.mapView;
     97        nc = MainApplication.getMap().mapView;
    9898        nc.setBounds(0, 0, IMG_WIDTH, IMG_HEIGHT);
    9999
Note: See TracChangeset for help on using the changeset viewer.