Ignore:
Timestamp:
2015-04-29T01:44:01+02:00 (9 years ago)
Author:
Don-vip
Message:

fix squid:RedundantThrowsDeclarationCheck + consistent Javadoc for exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java

    r8285 r8291  
    624624            public boolean valueBool = false;
    625625
    626             private Pattern getPattern(String str) throws IllegalStateException, PatternSyntaxException {
     626            private Pattern getPattern(String str) throws PatternSyntaxException {
    627627                if (str.endsWith("/i"))
    628628                    return Pattern.compile(str.substring(1,str.length()-2), Pattern.CASE_INSENSITIVE);
     
    632632                throw new IllegalStateException();
    633633            }
    634             public CheckerElement(String exp) throws IllegalStateException, PatternSyntaxException {
     634            public CheckerElement(String exp) throws PatternSyntaxException {
    635635                Matcher m = Pattern.compile("(.+)([!=]=)(.+)").matcher(exp);
    636636                m.matches();
Note: See TracChangeset for help on using the changeset viewer.