Changeset 9067 in josm for trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
- Timestamp:
- 2015-11-28T18:26:23+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r9021 r9067 65 65 public class SearchCompiler { 66 66 67 private boolean caseSensitive;68 private boolean regexSearch;67 private final boolean caseSensitive; 68 private final boolean regexSearch; 69 69 private static String rxErrorMsg = marktr("The regex \"{0}\" had a parse error at offset {1}, full error:\n\n{2}"); 70 70 private static String rxErrorMsgNoPos = marktr("The regex \"{0}\" had a parse error, full error:\n\n{1}"); 71 private PushbackTokenizer tokenizer;71 private final PushbackTokenizer tokenizer; 72 72 private static Map<String, SimpleMatchFactory> simpleMatchFactoryMap = new HashMap<>(); 73 73 private static Map<String, UnaryMatchFactory> unaryMatchFactoryMap = new HashMap<>(); … … 109 109 110 110 public class CoreSimpleMatchFactory implements SimpleMatchFactory { 111 private Collection<String> keywords = Arrays.asList("id", "version", "type", "user", "role",111 private final Collection<String> keywords = Arrays.asList("id", "version", "type", "user", "role", 112 112 "changeset", "nodes", "ways", "tags", "areasize", "waylength", "modified", "selected", 113 113 "incomplete", "untagged", "closed", "new", "indownloadedarea",
Note:
See TracChangeset
for help on using the changeset viewer.