Changeset 16358 in josm for trunk/src/org/openstreetmap/josm/gui/download
- Timestamp:
- 2020-04-19T14:54:59+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/OverpassQueryWizardDialog.java
r16355 r16358 16 16 import org.openstreetmap.josm.gui.download.overpass.OverpassWizardRegistration.OverpassWizardCallbacks; 17 17 import org.openstreetmap.josm.tools.Logging; 18 import org.openstreetmap.josm.tools. OverpassTurboQueryWizard;18 import org.openstreetmap.josm.tools.SearchCompilerQueryWizard; 19 19 import org.openstreetmap.josm.tools.UncheckedParseException; 20 20 import org.openstreetmap.josm.tools.Utils; … … 82 82 83 83 /** 84 * Tries to process a search term using {@link OverpassTurboQueryWizard}. If the term cannot84 * Tries to process a search term using {@link SearchCompilerQueryWizard}. If the term cannot 85 85 * be parsed, the the corresponding dialog is shown. 86 86 * @param searchTerm The search term to parse. … … 91 91 private Optional<String> tryParseSearchTerm(String searchTerm) { 92 92 try { 93 return Optional.of( OverpassTurboQueryWizard.getInstance().constructQuery(searchTerm));93 return Optional.of(SearchCompilerQueryWizard.getInstance().constructQuery(searchTerm)); 94 94 } catch (UncheckedParseException | IllegalStateException ex) { 95 95 Logging.error(ex);
Note:
See TracChangeset
for help on using the changeset viewer.