X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-binding-broker%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fbinding%2Ftest%2Futil%2FBindingBrokerTestFactory.java;h=c58e258e8b64daa1151a88d1153aac3571d813ea;hb=05565ac29ed2e05fef72379c2d84ca43c01799b2;hp=e5b57e3668baadb6fbe942364bfb3d920f56772c;hpb=78aac68702240a5e01c250030811b56cf1c5dd8e;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/sal/binding/test/util/BindingBrokerTestFactory.java b/opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/sal/binding/test/util/BindingBrokerTestFactory.java index e5b57e3668..c58e258e8b 100644 --- a/opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/sal/binding/test/util/BindingBrokerTestFactory.java +++ b/opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/sal/binding/test/util/BindingBrokerTestFactory.java @@ -11,13 +11,15 @@ import java.util.concurrent.ExecutorService; import javassist.ClassPool; +import com.google.common.annotations.Beta; import com.google.common.base.Preconditions; import com.google.common.util.concurrent.ListeningExecutorService; import com.google.common.util.concurrent.MoreExecutors; +@Beta public class BindingBrokerTestFactory { - private static final ClassPool CLASS_POOL = new ClassPool(); + private static final ClassPool CLASS_POOL = ClassPool.getDefault(); private boolean startWithParsedSchema = true; private ExecutorService executor; private ClassPool classPool; @@ -27,7 +29,7 @@ public class BindingBrokerTestFactory { return startWithParsedSchema; } - public void setStartWithParsedSchema(boolean startWithParsedSchema) { + public void setStartWithParsedSchema(final boolean startWithParsedSchema) { this.startWithParsedSchema = startWithParsedSchema; } @@ -35,7 +37,7 @@ public class BindingBrokerTestFactory { return executor; } - public void setExecutor(ExecutorService executor) { + public void setExecutor(final ExecutorService executor) { this.executor = executor; } @@ -54,7 +56,7 @@ public class BindingBrokerTestFactory { return classPool; } - public void setClassPool(ClassPool classPool) { + public void setClassPool(final ClassPool classPool) { this.classPool = classPool; }