config-manager: final parameters
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / impl / runtimembean / RuntimeBeanRegistratorImplTest.java
index 16de00508ab4e7ecf4d7fc6df22b6b476b37ae1d..5b19f615bc5b6659c3e87099ff67b2d9bacf4688 100644 (file)
@@ -11,15 +11,13 @@ import static org.hamcrest.CoreMatchers.containsString;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertThat;
 import static org.junit.Assert.fail;
+
 import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.Maps;
-
 import java.lang.management.ManagementFactory;
 import java.util.Map;
-
 import javax.management.InstanceNotFoundException;
 import javax.management.ObjectName;
-
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
@@ -67,7 +65,7 @@ public class RuntimeBeanRegistratorImplTest extends
         try {
             platformMBeanServer.getMBeanInfo(on);
             fail();
-        } catch (InstanceNotFoundException e) {
+        } catch (final InstanceNotFoundException e) {
 
         }
     }
@@ -139,7 +137,7 @@ public class RuntimeBeanRegistratorImplTest extends
         try {
             createRoot();
             fail();
-        } catch (IllegalStateException e) {
+        } catch (final IllegalStateException e) {
             assertThat(e.getMessage(), containsString(rootRegistration
                     .getObjectName().toString()));
             assertThat(e.getMessage(),