Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
config-manager: final parameters
[controller.git]
/
opendaylight
/
config
/
config-manager
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
config
/
manager
/
testingservices
/
threadpool
/
TestingFixedThreadPoolModuleFactory.java
diff --git
a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/threadpool/TestingFixedThreadPoolModuleFactory.java
b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/threadpool/TestingFixedThreadPoolModuleFactory.java
index d385a7db5a2d007bb6d4320f31d7247a4ecde1c1..e78ae980096fa5e8905e12bf0f83de330b353376 100644
(file)
--- a/
opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/threadpool/TestingFixedThreadPoolModuleFactory.java
+++ b/
opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/threadpool/TestingFixedThreadPoolModuleFactory.java
@@
-50,7
+50,7
@@
public class TestingFixedThreadPoolModuleFactory extends AbstractTestingFixedThr
try {
// reconfigure existing instance
oldInstance = (TestingFixedThreadPool) old.getInstance();
try {
// reconfigure existing instance
oldInstance = (TestingFixedThreadPool) old.getInstance();
- } catch (ClassCastException e) {
+ } catch (
final
ClassCastException e) {
// old instance will be closed, new needs to be created
oldInstance = null;
}
// old instance will be closed, new needs to be created
oldInstance = null;
}
@@
-69,7
+69,7
@@
public class TestingFixedThreadPoolModuleFactory extends AbstractTestingFixedThr
@Override
public Set<Module> getDefaultModules(final DependencyResolverFactory dependencyResolverFactory, final BundleContext bundleContext) {
@Override
public Set<Module> getDefaultModules(final DependencyResolverFactory dependencyResolverFactory, final BundleContext bundleContext) {
- return new HashSet<
Module
>();
+ return new HashSet<>();
}
@Override
}
@Override