Changeset 17089 in josm


Ignore:
Timestamp:
2020-10-07T07:21:25+02:00 (14 months ago)
Author:
simon04
Message:

see #19888 - Make PluginHandlerJOSMTooOldTest more robust

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerJOSMTooOldTest.java

    r16667 r17089  
    1010import java.io.IOException;
    1111import java.nio.file.Files;
     12import java.text.DecimalFormatSymbols;
    1213import java.util.ArrayList;
    1314import java.util.Arrays;
     
    2829import org.openstreetmap.josm.testutils.mockers.ExtendedDialogMocker;
    2930import org.openstreetmap.josm.testutils.mockers.HelpAwareOptionPaneMocker;
    30 import org.openstreetmap.josm.tools.Utils;
    3131
    3232import com.github.tomakehurst.wiremock.client.WireMock;
     
    106106
    107107    private static String u202f(String s) {
    108         return Utils.getJavaVersion() < 9 ? s.replace('\u202F', ',') : s;
     108        return s.replace('\u202F', DecimalFormatSymbols.getInstance().getGroupingSeparator());
    109109    }
    110110
Note: See TracChangeset for help on using the changeset viewer.