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/actions/MergeLayerActionTest.java

    r15455 r16159  
    44import static org.junit.Assert.assertEquals;
    55import static org.junit.Assert.assertNull;
     6
     7import java.util.Collections;
    68
    79import javax.swing.JLabel;
     
    2123import org.openstreetmap.josm.testutils.mockers.ExtendedDialogMocker;
    2224import org.openstreetmap.josm.testutils.mockers.JOptionPaneSimpleMocker;
    23 
    24 import com.google.common.collect.ImmutableMap;
    2525
    2626import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
     
    8585        TestUtils.assumeWorkingJMockit();
    8686        final JOptionPaneSimpleMocker jopsMocker = new JOptionPaneSimpleMocker(
    87             ImmutableMap.<String, Object>of("<html>There are no layers the source layer<br>'onion'<br>could be merged to.</html>", 0)
     87            Collections.singletonMap("<html>There are no layers the source layer<br>'onion'<br>could be merged to.</html>", 0)
    8888        );
    8989
Note: See TracChangeset for help on using the changeset viewer.