[Clirr-devel] CVS: clirr/src/java/net/sf/clirr Checker.java,1.21,1.22
Status: Alpha
Brought to you by:
lkuehne
From: <lk...@us...> - 2004-07-03 16:06:56
|
Update of /cvsroot/clirr/clirr/src/java/net/sf/clirr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1181 Modified Files: Checker.java Log Message: ClassChangeCheck is now allowed to throw CheckerException Useful in case the check needs to load a class, which might fail Index: Checker.java =================================================================== RCS file: /cvsroot/clirr/clirr/src/java/net/sf/clirr/Checker.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- Checker.java 2 Jul 2004 02:40:43 -0000 1.21 +++ Checker.java 3 Jul 2004 16:06:35 -0000 1.22 @@ -311,7 +311,7 @@ * @param currentVersion the classes that are checked for * compatibility with compatibilityBaseline */ - private void reportDiffs(ClassSet compatibilityBaseline, ClassSet currentVersion) + private void reportDiffs(ClassSet compatibilityBaseline, ClassSet currentVersion) throws CheckerException { fireStart(); runClassChecks(compatibilityBaseline, currentVersion); @@ -319,6 +319,7 @@ } private void runClassChecks(ClassSet compatBaseline, ClassSet currentVersion) + throws CheckerException { JavaClass[] compat = compatBaseline.toArray(); JavaClass[] current = currentVersion.toArray(); |