Ignore:
Timestamp:
2020-06-14T20:19:59+02:00 (4 years ago)
Author:
simon04
Message:

see #19334 - https://errorprone.info/bugpattern/StringSplitter

File:
1 edited

Legend:

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

    r16162 r16643  
    598598    public static List<String> getIgnoredErrorMessages(Class<?> integrationTest) throws IOException {
    599599        return Arrays.stream(new WikiReader()
    600                 .read("https://josm.openstreetmap.de/wiki/IntegrationTestIgnores?format=txt")
    601                 .split("\\n"))
     600                .read("https://josm.openstreetmap.de/wiki/IntegrationTestIgnores?format=txt").split("\\n", -1))
    602601                .filter(s -> s.startsWith("|| " + integrationTest.getSimpleName() + " ||"))
    603602                .map(s -> s.substring(s.indexOf("{{{") + 3, s.indexOf("}}}")))
Note: See TracChangeset for help on using the changeset viewer.