Ignore:
Timestamp:
2018-08-13T02:18:54+02:00 (6 years ago)
Author:
Don-vip
Message:

see #15229 - deprecate Main.parent and Main itself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerJOSMTooOldTest.java

    r14149 r14153  
    1515import org.junit.Rule;
    1616import org.junit.Test;
    17 import org.openstreetmap.josm.Main;
    1817import org.openstreetmap.josm.TestUtils;
    1918import org.openstreetmap.josm.data.Preferences;
     19import org.openstreetmap.josm.gui.MainApplication;
    2020import org.openstreetmap.josm.spi.preferences.Config;
    2121import org.openstreetmap.josm.testutils.JOSMTestRules;
     
    115115
    116116        final List<PluginInformation> updatedPlugins = PluginHandler.updatePlugins(
    117             Main.parent,
     117            MainApplication.getMainFrame(),
    118118            null,
    119119            null,
     
    183183
    184184        final List<PluginInformation> updatedPlugins = PluginHandler.updatePlugins(
    185             Main.parent,
     185            MainApplication.getMainFrame(),
    186186            null,
    187187            null,
     
    257257
    258258        final List<PluginInformation> updatedPlugins = ImmutableList.copyOf(PluginHandler.updatePlugins(
    259             Main.parent,
     259            MainApplication.getMainFrame(),
    260260            null,
    261261            null,
Note: See TracChangeset for help on using the changeset viewer.