01: package net.sf.clirr.core;
02:
03: import net.sf.clirr.core.internal.ClassChangeCheck;
04: import net.sf.clirr.core.Checker;
05:
06: /**
07: * Provides a way for check tests to create a checker via the package private
08: * Checker constructor, even if the tests are not in the same package.
09: */
10: public class CheckerFactory {
11: public static Checker createChecker(ClassChangeCheck check) {
12: return new Checker(check);
13: }
14:
15: public static Checker createChecker() {
16: return new Checker();
17: }
18: }
|