Changeset 9717 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-02-02T23:13:51+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/OverpassTurboQueryWizard.java
r9704 r9717 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.tools; 3 4 import org.openstreetmap.josm.Main;5 3 6 4 import java.io.IOException; … … 14 12 import javax.script.ScriptEngineManager; 15 13 import javax.script.ScriptException; 14 15 import org.openstreetmap.josm.Main; 16 16 17 17 /** … … 59 59 try { 60 60 final Object result = ((Invocable) engine).invokeMethod(engine.get("global"), 61 "overpassWizard", search, new HashMap<String, Object>() { {61 "overpassWizard", search, new HashMap<String, Object>() { { 62 62 put("comment", false); 63 63 put("outputFormat", "xml"); 64 64 put("outputMode", "recursive_meta"); 65 }}); 65 } } 66 ); 66 67 if (result == Boolean.FALSE) { 67 68 throw new UncheckedParseException();
Note:
See TracChangeset
for help on using the changeset viewer.