Improve segmented journal actor metrics
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / DatastoreContextContextPropertiesUpdaterTest.java
index 38a89d0c75fa7fe0feb56302e5443c4a3bd814ba..244df9c0bc0973d541e7cf0baf742d2b111df019 100644 (file)
@@ -82,14 +82,13 @@ public class DatastoreContextContextPropertiesUpdaterTest {
         updater.close();
     }
 
-    private Object resolveField(final String name, final Object obj) throws Exception {
+    private static Object resolveField(final String name, final Object obj) throws Exception {
         final Field currProps = obj.getClass().getDeclaredField(name);
         currProps.setAccessible(true);
         return currProps.get(obj);
     }
 
-    private class DummyListenerImpl implements Listener {
-
+    private static final class DummyListenerImpl implements Listener {
         private DatastoreContextFactory contextFactory;
 
         @Override