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/io/GpxReader.java

    r16038 r16643  
    147147                String schemaLocation = atts.getValue(GpxConstants.XML_URI_XSD, "schemaLocation");
    148148                if (schemaLocation != null) {
    149                     String[] schemaLocations = schemaLocation.split(" ");
     149                    String[] schemaLocations = schemaLocation.split(" ", -1);
    150150                    for (int i = 0; i < schemaLocations.length - 1; i += 2) {
    151151                        final String schemaURI = schemaLocations[i];
Note: See TracChangeset for help on using the changeset viewer.