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/testutils/PluginServer.java

    r14052 r14153  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.testutils;
     3
     4import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.options;
    35
    46import java.io.File;
     
    1214import java.util.stream.Collectors;
    1315
     16import org.junit.runner.Description;
     17import org.junit.runners.model.Statement;
    1418import org.openstreetmap.josm.TestUtils;
    1519import org.openstreetmap.josm.tools.Logging;
    1620
    17 import org.junit.runner.Description;
    18 import org.junit.runners.model.Statement;
    19 
    20 import com.google.common.collect.ImmutableList;
    21 
     21import com.github.tomakehurst.wiremock.WireMockServer;
    2222import com.github.tomakehurst.wiremock.client.MappingBuilder;
    2323import com.github.tomakehurst.wiremock.client.ResponseDefinitionBuilder;
     
    2525import com.github.tomakehurst.wiremock.core.Options;
    2626import com.github.tomakehurst.wiremock.junit.WireMockRule;
    27 import com.github.tomakehurst.wiremock.WireMockServer;
    28 
    29 import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.options;
     27import com.google.common.collect.ImmutableList;
    3028
    3129public class PluginServer {
     
    7573
    7674        public String getRemotePluginsListManifestSection() {
    77             final Map<String, String> attrs = new HashMap<String, String>();
     75            final Map<String, String> attrs = new HashMap<>();
    7876            JarFile jarFile = null;
    7977
     
    239237            return super.apply(new Statement() {
    240238                @Override
    241                 @SuppressWarnings("unchecked")
    242239                public void evaluate() throws Throwable {
    243240                    PluginServer.this.applyToWireMockServer(PluginServerRule.this);
Note: See TracChangeset for help on using the changeset viewer.