Changeset 11987 in josm


Ignore:
Timestamp:
2017-04-23T20:53:42+02:00 (7 years ago)
Author:
Don-vip
Message:

checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OverpassDownloadReader.java

    r11984 r11987  
    201201                final String errorPlusRest = ex.getMessage().split(errorIndicator)[1];
    202202                if (errorPlusRest != null) {
    203                     final String error = errorPlusRest.split("</")[0].replaceAll(".*::request_read_and_idx::","");
    204                     ex.setErrorHeader(error);
     203                    ex.setErrorHeader(errorPlusRest.split("</")[0].replaceAll(".*::request_read_and_idx::", ""));
    205204                }
    206205            }
Note: See TracChangeset for help on using the changeset viewer.