config-persister-impl: final parameters
[controller.git] / opendaylight / config / config-persister-impl / src / test / java / org / opendaylight / controller / config / persist / impl / ConfigPusherImplTest.java
index 8bfb3d73b975cb743ab4e540ce9878f029fa268a..bfb606e9ac3e71970aedffb82f84fcc87c9852dd 100644 (file)
@@ -93,7 +93,7 @@ public class ConfigPusherImplTest {
         try {
             configPusher.process(Lists.<AutoCloseable>newArrayList(), ManagementFactory.getPlatformMBeanServer(),
                     mockedAggregator, true);
-        } catch(IllegalStateException e) {
+        } catch(final IllegalStateException e) {
             Throwable cause = Throwables.getRootCause(e);
             assertTrue(cause instanceof ConfigPusherImpl.NotEnoughCapabilitiesException);
             final Set<String> missingCaps = ((ConfigPusherImpl.NotEnoughCapabilitiesException) cause).getMissingCaps();
@@ -145,7 +145,7 @@ public class ConfigPusherImplTest {
         configPusher.pushConfigs(Collections.singletonList(mockedConfigSnapshot));
         try {
             configPusher.processSingle(Lists.<AutoCloseable>newArrayList(), mBeanServer, mockedAggregator, true);
-        } catch (IllegalStateException e) {
+        } catch (final IllegalStateException e) {
             Throwable cause = Throwables.getRootCause(e);
             assertTrue(cause instanceof ConflictingVersionException);
             return;