config-manager: final parameters
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / impl / dynamicmbean / AnnotationsTest.java
index 018fea86ed1b0c779fd48e8a27ca773c982f12c9..854b40eb241382bd46c863f3ddc651db6e3bacf8 100644 (file)
@@ -50,7 +50,7 @@ public class AnnotationsTest {
         Method setter;
         try {
             setter = clazz.getMethod(methodName, new Class[] { ObjectName.class });
-        } catch (Exception e) {
+        } catch (final Exception e) {
             throw Throwables.propagate(e);
         }
         return setter;
@@ -175,7 +175,7 @@ public class AnnotationsTest {
             assertRequireInterfaceAnnotationHasCorrectValue(SubClassWithAnnotation.class, setSomethingString,
                 emptySetOfInterfaces(), SubSI2.class);
             fail();
-        } catch (IllegalStateException e) {
+        } catch (final IllegalStateException e) {
             assertTrue(e.getMessage(),
                 e.getMessage().startsWith("Error finding @RequireInterface. More than one value specified"));
         }