Changeset 12807 in josm


Ignore:
Timestamp:
2017-09-09T19:58:38+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15229 - see #15182 - see #14794 - checkstyle, unit tests

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/util/MultikeyActionsHandler.java

    r12799 r12807  
    2828import org.openstreetmap.josm.tools.Shortcut;
    2929
     30/**
     31 * Handles the different multikey actions.
     32 * The possible actions can be selected through a popup menu.
     33 * @since 4595
     34 */
    3035public final class MultikeyActionsHandler {
    3136
  • trunk/src/org/openstreetmap/josm/gui/util/MultikeyShortcutAction.java

    r12799 r12807  
    88import org.openstreetmap.josm.tools.Shortcut;
    99
     10/**
     11 * Action implementing a multikey shortcut - shorcuts like Ctrl+Alt+S,n will toggle n-th layer visibility.
     12 * @since 4595
     13 */
    1014public interface MultikeyShortcutAction extends Action {
    1115
  • trunk/test/functional/org/openstreetmap/josm/tools/HttpClientTest.java

    r12570 r12807  
    183183    }
    184184
    185     @Test()
     185    @Test
    186186    public void testHttp401() throws IOException {
    187187        // https://tools.ietf.org/html/rfc2324
  • trunk/test/unit/org/openstreetmap/josm/testutils/JOSMTestRules.java

    r12795 r12807  
    2323import org.openstreetmap.josm.gui.MainApplication;
    2424import org.openstreetmap.josm.gui.mappaint.MapPaintStyles;
     25import org.openstreetmap.josm.gui.oauth.OAuthAuthorizationWizard;
    2526import org.openstreetmap.josm.gui.tagging.presets.TaggingPresets;
    2627import org.openstreetmap.josm.gui.util.GuiHelper;
     
    2829import org.openstreetmap.josm.io.OsmApi;
    2930import org.openstreetmap.josm.io.OsmApiInitializationException;
     31import org.openstreetmap.josm.io.OsmConnection;
    3032import org.openstreetmap.josm.io.OsmTransferCanceledException;
    3133import org.openstreetmap.josm.tools.I18n;
     
    283285        // Setup callbacks
    284286        DeleteCommand.setDeletionCallback(DeleteAction.defaultDeletionCallback);
     287        OsmConnection.setOAuthAccessTokenFetcher(OAuthAuthorizationWizard::obtainAccessToken);
    285288
    286289        // Set up i18n
Note: See TracChangeset for help on using the changeset viewer.