X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-manager%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fmanager%2Ftestingservices%2Fscheduledthreadpool%2Ftest%2FTwoInterfacesExportTest.java;h=2a7876255fed3c1f6a492472cdd113b4c6de0b2f;hp=0e6a54fdc9b1b9cee4d74fda75fa8154db8a9866;hb=cbcc2b61265e903959f11d44c292771e76b3926e;hpb=12f2638b091a56ffb61daa70f8f1511c77e655e1 diff --git a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/test/TwoInterfacesExportTest.java b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/test/TwoInterfacesExportTest.java index 0e6a54fdc9..2a7876255f 100644 --- a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/test/TwoInterfacesExportTest.java +++ b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/scheduledthreadpool/test/TwoInterfacesExportTest.java @@ -64,14 +64,14 @@ public class TwoInterfacesExportTest extends AbstractScheduledTest { try { transaction.lookupConfigBean(moduleName, instanceName); fail(); - } catch (InstanceNotFoundException e) { + } catch (final InstanceNotFoundException e) { } } else { try { configRegistryClient.lookupConfigBean(moduleName, instanceName); fail(); - } catch (InstanceNotFoundException e) { + } catch (final InstanceNotFoundException e) { } } @@ -139,7 +139,7 @@ public class TwoInterfacesExportTest extends AbstractScheduledTest { transaction.createModule( TestingScheduledThreadPoolModuleFactory.NAME, scheduled1); fail(); - } catch (InstanceAlreadyExistsException e) { + } catch (final InstanceAlreadyExistsException e) { assertThat( e.getMessage(), containsString("There is an instance registered with name ModuleIdentifier{factoryName='scheduled', instanceName='scheduled1'}"));