- Timestamp:
- 2021-07-10T21:21:24+02:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/OverpassQueryWizardDialog.java
r17336 r17982 69 69 default: 70 70 super.buttonAction(buttonIndex, evt); 71 72 71 } 73 72 } -
trunk/src/org/openstreetmap/josm/io/OverpassDownloadReader.java
r17811 r17982 12 12 import java.time.ZoneId; 13 13 import java.time.ZoneOffset; 14 import java.time.format.DateTimeParseException; 14 15 import java.util.Arrays; 15 16 import java.util.EnumMap; … … 223 224 Logging.warn("Unsupported syntax: " + matcher.group(1)); 224 225 } 225 } catch (UncheckedParseException | IOException | NoSuchElementException | IndexOutOfBoundsException ex) {226 } catch (UncheckedParseException | DateTimeParseException | IOException | NoSuchElementException | IndexOutOfBoundsException ex) { 226 227 final String msg = tr("Failed to evaluate {0}", matcher.group()); 227 228 Logging.log(Logging.LEVEL_WARN, msg, ex); -
trunk/src/org/openstreetmap/josm/tools/SearchCompilerQueryWizard.java
r17336 r17982 104 104 final String value = ((SearchCompiler.KeyValue) match).getValue(); 105 105 if ("newer".equals(key)) { 106 return "(newer:" + quote( "{{date:" + value + "}}") + ")";106 return "(newer:" + quote(value) + ")"; 107 107 } 108 108 return "[~" + quote(key) + "~" + quote(value) + "]";
Note:
See TracChangeset
for help on using the changeset viewer.