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/src/org/openstreetmap/josm/actions/downloadtasks/DownloadGpsTask.java

    r16438 r16643  
    8686
    8787        } else if (GpxUrlPattern.TRACKPOINTS_BBOX.matches(url)) {
    88             String[] table = url.split("\\?|=|&");
     88            String[] table = url.split("\\?|=|&", -1);
    8989            for (int i = 0; i < table.length; i++) {
    9090                if ("bbox".equals(table[i]) && i < table.length-1)
Note: See TracChangeset for help on using the changeset viewer.