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
/
scheduledthreadpool
/
TestingScheduledThreadPoolModuleFactory.java
diff --git
a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/TestingScheduledThreadPoolModuleFactory.java
b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/TestingScheduledThreadPoolModuleFactory.java
index d34e73ec4723d8d1fa151b0dfe8f161ec6716b33..7428776b76852c60d375880bb0978b97d3560394 100644
(file)
--- a/
opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/TestingScheduledThreadPoolModuleFactory.java
+++ b/
opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/TestingScheduledThreadPoolModuleFactory.java
@@
-53,7
+53,7
@@
public class TestingScheduledThreadPoolModuleFactory implements ModuleFactory {
TestingScheduledThreadPoolImpl oldInstance;
try {
oldInstance = (TestingScheduledThreadPoolImpl) old.getInstance();
TestingScheduledThreadPoolImpl oldInstance;
try {
oldInstance = (TestingScheduledThreadPoolImpl) old.getInstance();
- } catch (ClassCastException e) {// happens after OSGi update
+ } catch (
final
ClassCastException e) {// happens after OSGi update
oldInstance = null;
}
oldInstance = null;
}
@@
-67,7
+67,7
@@
public class TestingScheduledThreadPoolModuleFactory implements ModuleFactory {
@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