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

see #15182 - deprecate Main.worker, replace it by gui.MainApplication.worker + code refactoring to make sure only editor packages use it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/oauth/SemiAutomaticAuthorizationUITest.java

    r10989 r12634  
    66import org.junit.Rule;
    77import org.junit.Test;
    8 import org.openstreetmap.josm.Main;
     8import org.openstreetmap.josm.gui.MainApplication;
    99import org.openstreetmap.josm.testutils.JOSMTestRules;
    1010
     
    2828    @Test
    2929    public void testSemiAutomaticAuthorizationUI() {
    30         assertNotNull(new SemiAutomaticAuthorizationUI("", Main.worker));
     30        assertNotNull(new SemiAutomaticAuthorizationUI("", MainApplication.worker));
    3131    }
    3232}
Note: See TracChangeset for help on using the changeset viewer.