Ignore:
Timestamp:
2020-03-17T20:09:38+01:00 (4 years ago)
Author:
simon04
Message:

see #18948 - Use Collections.singletonMap instead of ImmutableMap.of

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/DownloadWmsAlongTrackActionTest.java

    r14332 r16159  
    77import static org.junit.Assert.assertNull;
    88import static org.junit.Assert.assertTrue;
     9
     10import java.util.Collections;
    911
    1012import org.awaitility.Awaitility;
     
    2123import org.openstreetmap.josm.testutils.TileSourceRule;
    2224import org.openstreetmap.josm.testutils.mockers.JOptionPaneSimpleMocker;
    23 
    24 import com.google.common.collect.ImmutableMap;
    2525
    2626import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
     
    4545        TestUtils.assumeWorkingJMockit();
    4646        final JOptionPaneSimpleMocker jopsMocker = new JOptionPaneSimpleMocker(
    47             ImmutableMap.<String, Object>of("There are no imagery layers.", 0)
     47            Collections.singletonMap("There are no imagery layers.", 0)
    4848        );
    4949
Note: See TracChangeset for help on using the changeset viewer.