[Clirr-devel] CVS: clirr/src/java/net/sf/clirr/framework CheckerException.java,1.1,1.2 ClassSelector
Status: Alpha
Brought to you by:
lkuehne
From: <lk...@us...> - 2004-06-13 11:01:08
|
Update of /cvsroot/clirr/clirr/src/java/net/sf/clirr/framework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12977/framework Modified Files: CheckerException.java ClassSelector.java Log Message: fixed checkstyle errors Index: CheckerException.java =================================================================== RCS file: /cvsroot/clirr/clirr/src/java/net/sf/clirr/framework/CheckerException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- CheckerException.java 11 Jun 2004 00:02:21 -0000 1.1 +++ CheckerException.java 13 Jun 2004 11:00:59 -0000 1.2 @@ -25,7 +25,7 @@ * <p> * The Clirr coding conventions use checked exceptions (such as this one) * for errors whose cause is something external to the clirr library/app. - * Unchecked exceptions are used for errors that are due to bugs within + * Unchecked exceptions are used for errors that are due to bugs within * clirr code (assertion-violation type problems). */ public class CheckerException extends Exception @@ -34,7 +34,7 @@ { super(msg); } - + public CheckerException(String msg, Throwable t) { super(msg, t); Index: ClassSelector.java =================================================================== RCS file: /cvsroot/clirr/clirr/src/java/net/sf/clirr/framework/ClassSelector.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ClassSelector.java 11 Jun 2004 00:38:29 -0000 1.2 +++ ClassSelector.java 13 Jun 2004 11:00:59 -0000 1.3 @@ -103,7 +103,7 @@ { return false; } - + boolean matches = matchesCriteria(clazz); if (mode == MODE_IF) { @@ -128,20 +128,20 @@ { return false; } - - for(int i=dollarPos+1; i<name.length(); ++i) + + for (int i = dollarPos + 1; i < name.length(); ++i) { if (!Character.isDigit(name.charAt(i))) { return false; } } - + // ok, we have a class name which contains a dollar sign, and // every subsequent character is a digit. return true; } - + /** * Return true if this class matches one of the criteria stored * in this object. |