Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed potential class pool override in integration tests.
[controller.git]
/
opendaylight
/
md-sal
/
sal-binding-broker
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
sal
/
binding
/
test
/
util
/
BindingBrokerTestFactory.java
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 e5b57e3668baadb6fbe942364bfb3d920f56772c..08c5d061dc832d47cdcffe991cacc2ddb25b6332 100644
(file)
--- 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
@@
-17,7
+17,7
@@
import com.google.common.util.concurrent.MoreExecutors;
public class BindingBrokerTestFactory {
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;
private boolean startWithParsedSchema = true;
private ExecutorService executor;
private ClassPool classPool;
@@
-27,7
+27,7
@@
public class BindingBrokerTestFactory {
return startWithParsedSchema;
}
return startWithParsedSchema;
}
- public void setStartWithParsedSchema(boolean startWithParsedSchema) {
+ public void setStartWithParsedSchema(
final
boolean startWithParsedSchema) {
this.startWithParsedSchema = startWithParsedSchema;
}
this.startWithParsedSchema = startWithParsedSchema;
}
@@
-35,7
+35,7
@@
public class BindingBrokerTestFactory {
return executor;
}
return executor;
}
- public void setExecutor(ExecutorService executor) {
+ public void setExecutor(
final
ExecutorService executor) {
this.executor = executor;
}
this.executor = executor;
}
@@
-54,7
+54,7
@@
public class BindingBrokerTestFactory {
return classPool;
}
return classPool;
}
- public void setClassPool(ClassPool classPool) {
+ public void setClassPool(
final
ClassPool classPool) {
this.classPool = classPool;
}
this.classPool = classPool;
}