Changeset 13359 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2018-01-26T23:42:14+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OverpassDownloadReader.java
r13336 r13359 403 403 public static String fixQuery(String query) { 404 404 return query == null ? query : query 405 .replace First("out( body| skel| ids)?( id| qt)?;", "out meta$2;")406 .replace First("(?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]"); 407 407 } 408 408 }
Note:
See TracChangeset
for help on using the changeset viewer.