Changeset 12537 in josm for trunk/src/org/openstreetmap/josm/actions/search/PushbackTokenizer.java
- Timestamp:
- 2017-07-30T00:22:46+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/PushbackTokenizer.java
r12409 r12537 148 148 } 149 149 150 private static final List<Character> specialChars= Arrays.asList('"', ':', '(', ')', '|', '^', '=', '?', '<', '>');151 private static final List<Character> specialCharsQuoted= Arrays.asList('"');150 private static final List<Character> SPECIAL_CHARS = Arrays.asList('"', ':', '(', ')', '|', '^', '=', '?', '<', '>'); 151 private static final List<Character> SPECIAL_CHARS_QUOTED = Arrays.asList('"'); 152 152 153 153 private String getString(boolean quoted) { 154 List<Character> sChars = quoted ? specialCharsQuoted : specialChars;154 List<Character> sChars = quoted ? SPECIAL_CHARS_QUOTED : SPECIAL_CHARS; 155 155 StringBuilder s = new StringBuilder(); 156 156 boolean escape = false;
Note:
See TracChangeset
for help on using the changeset viewer.