Ignore:
Timestamp:
2021-07-17T17:24:53+02:00 (5 years ago)
Author:
Don-vip
Message:

upgrade to checkstyle 8.43, fix violations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/JosmDecimalFormatSymbolsProviderTest.java

    r17967 r18051  
    3535    static void beforeAll() throws IOException {
    3636        if (Utils.getJavaVersion() >= 9) {
    37             assertEquals("SPI,JRE,CLDR", System.getProperty("java.locale.providers"), "This test must be launched with -Djava.locale.providers=SPI,JRE,CLDR");
     37            assertEquals("SPI,JRE,CLDR", System.getProperty("java.locale.providers"),
     38                    "This test must be launched with -Djava.locale.providers=SPI,JRE,CLDR");
    3839            try (InputStream in = I18n.class.getResourceAsStream("/META-INF/services/java.text.spi.DecimalFormatSymbolsProvider")) {
    39                 assertEquals("org.openstreetmap.josm.tools.JosmDecimalFormatSymbolsProvider", new String(Utils.readBytesFromStream(in), StandardCharsets.UTF_8).trim());
     40                assertEquals("org.openstreetmap.josm.tools.JosmDecimalFormatSymbolsProvider",
     41                        new String(Utils.readBytesFromStream(in), StandardCharsets.UTF_8).trim());
    4042            }
    4143        }
Note: See TracChangeset for help on using the changeset viewer.