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/dialogs/changeset/ChangesetCacheManagerTest.java

    r14410 r16159  
    3232import org.openstreetmap.josm.testutils.mockers.WindowMocker;
    3333
    34 import com.google.common.collect.ImmutableMap;
    35 
    3634import mockit.Invocation;
    3735import mockit.Mock;
     
    122120        TestUtils.assumeWorkingJMockit();
    123121        final HelpAwareOptionPaneMocker haMocker = new HelpAwareOptionPaneMocker(
    124             ImmutableMap.<String, Object>of(
     122            Collections.singletonMap(
    125123                "<html>JOSM is currently running with an anonymous user. It cannot download<br>"
    126124                + "your changesets from the OSM server unless you enter your OSM user name<br>"
Note: See TracChangeset for help on using the changeset viewer.