Fix checkstyle reported by odlparent-3.0.0
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / sharding / DistributedShardChangePublisher.java
index 57e75136c77ce2025bfd8d02667c048eceac27f9..f91dc3b2600dd09a5ed815b4d7a24f391d527404 100644 (file)
@@ -178,7 +178,7 @@ public class DistributedShardChangePublisher
         return listenerPathArgs;
     }
 
-    private static class ProxyRegistration implements ListenerRegistration<DOMDataTreeChangeListener> {
+    private static final class ProxyRegistration implements ListenerRegistration<DOMDataTreeChangeListener> {
 
         private final ListenerRegistration<org.opendaylight.controller.md.sal.dom.api.DOMDataTreeChangeListener> proxy;
         private final DOMDataTreeChangeListener listener;
@@ -349,6 +349,7 @@ public class DistributedShardChangePublisher
 
         @Nullable
         @Override
+        @SuppressWarnings("checkstyle:hiddenField")
         public DataTreeCandidateNode getModifiedChild(final PathArgument identifier) {
             return null;
         }