Changeset 3049 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-02-26T20:53:17+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/PushbackTokenizer.java
r3046 r3049 81 81 } 82 82 83 private static final List< Integer> specialChars = Arrays.asList(new Integer[] {'"', ':', '(', ')', '|', '=', '?'});84 private static final List< Integer> specialCharsQuoted = Arrays.asList(new Integer[] {'"'});83 private static final List<Character> specialChars = Arrays.asList(new Character[] {'"', ':', '(', ')', '|', '=', '?'}); 84 private static final List<Character> specialCharsQuoted = Arrays.asList(new Character[] {'"'}); 85 85 86 86 private String getString(boolean quoted) { 87 List< Integer> sChars = quoted ? specialCharsQuoted : specialChars;87 List<Character> sChars = quoted ? specialCharsQuoted : specialChars; 88 88 StringBuilder s = new StringBuilder(); 89 89 boolean escape = false;
Note:
See TracChangeset
for help on using the changeset viewer.