Changeset 8291 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java
- Timestamp:
- 2015-04-29T01:44:01+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java
r8285 r8291 624 624 public boolean valueBool = false; 625 625 626 private Pattern getPattern(String str) throws IllegalStateException,PatternSyntaxException {626 private Pattern getPattern(String str) throws PatternSyntaxException { 627 627 if (str.endsWith("/i")) 628 628 return Pattern.compile(str.substring(1,str.length()-2), Pattern.CASE_INSENSITIVE); … … 632 632 throw new IllegalStateException(); 633 633 } 634 public CheckerElement(String exp) throws IllegalStateException,PatternSyntaxException {634 public CheckerElement(String exp) throws PatternSyntaxException { 635 635 Matcher m = Pattern.compile("(.+)([!=]=)(.+)").matcher(exp); 636 636 m.matches();
Note:
See TracChangeset
for help on using the changeset viewer.