Changeset 16643 in josm for trunk/test/functional


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/functional/org/openstreetmap/josm/data/imagery/ImageryCompareTestIT.java

    r15135 r16643  
    4444        String comparison = HttpClient.create(new URL("https://josm.openstreetmap.de/wiki/ImageryCompare")).connect().fetchContent();
    4545        String rubricLine = null;
    46         for (String line : comparison.split("\n")) {
     46        for (String line : comparison.split("\n", -1)) {
    4747            boolean black = line.startsWith(BLACK_PREFIX);
    4848            if (black) {
Note: See TracChangeset for help on using the changeset viewer.