Ignore:
Timestamp:
2018-01-26T23:42:14+01:00 (7 years ago)
Author:
Don-vip
Message:

fix #15800 - mistake in replacements

File:
1 edited

Legend:

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

    r13336 r13359  
    403403    public static String fixQuery(String query) {
    404404        return query == null ? query : query
    405                 .replaceFirst("out( body| skel| ids)?( id| qt)?;", "out meta$2;")
    406                 .replaceFirst("(?s)\\[out:(json|csv)[^\\]]*\\]", "[out:xml]");
     405                .replaceAll("out( body| skel| ids)?( id| qt)?;", "out meta$2;")
     406                .replaceAll("(?s)\\[out:(json|csv)[^\\]]*\\]", "[out:xml]");
    407407    }
    408408}
Note: See TracChangeset for help on using the changeset viewer.