Ignore:
Timestamp:
2020-03-17T20:09:38+01:00 (14 months 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/preferences/advanced/ExportProfileActionTest.java

    r14149 r16159  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.gui.preferences.advanced;
     3
     4import java.util.Collections;
    35
    46import javax.swing.JOptionPane;
     
    1012import org.openstreetmap.josm.testutils.JOSMTestRules;
    1113import org.openstreetmap.josm.testutils.mockers.JOptionPaneSimpleMocker;
    12 
    13 import com.google.common.collect.ImmutableMap;
    1414
    1515import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
     
    3232    public void testAction() {
    3333        TestUtils.assumeWorkingJMockit();
    34         new JOptionPaneSimpleMocker(ImmutableMap.of(
     34        new JOptionPaneSimpleMocker(Collections.singletonMap(
    3535            "All the preferences of this group are default, nothing to save", JOptionPane.OK_OPTION
    3636        ));
Note: See TracChangeset for help on using the changeset viewer.