Make methods static
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / java / org / opendaylight / ovsdb / hwvtepsouthbound / HwvtepOperGlobalListener.java
index 67e7cdac7916cd8a3e25c7c6e176e93d927628f2..59356e4719eb327c984b33747f8ce1e55baade11 100644 (file)
@@ -130,7 +130,7 @@ public class HwvtepOperGlobalListener implements ClusteredDataTreeChangeListener
         }
     }
 
-    private void connect(Collection<DataTreeModification<Node>> changes) {
+    private static void connect(Collection<DataTreeModification<Node>> changes) {
         changes.forEach((change) -> {
             InstanceIdentifier<Node> key = change.getRootPath().getRootIdentifier();
             DataObjectModification<Node> mod = change.getRootNode();
@@ -158,7 +158,7 @@ public class HwvtepOperGlobalListener implements ClusteredDataTreeChangeListener
         });
     }
 
-    private void updated(Collection<DataTreeModification<Node>> changes) {
+    private static void updated(Collection<DataTreeModification<Node>> changes) {
         changes.forEach((change) -> {
             InstanceIdentifier<Node> key = change.getRootPath().getRootIdentifier();
             DataObjectModification<Node> mod = change.getRootNode();
@@ -236,7 +236,7 @@ public class HwvtepOperGlobalListener implements ClusteredDataTreeChangeListener
                 .child(Node.class);
     }
 
-    private Node getUpdated(DataObjectModification<Node> mod) {
+    private static Node getUpdated(DataObjectModification<Node> mod) {
         Node node = null;
         switch (mod.getModificationType()) {
             case SUBTREE_MODIFIED:
@@ -252,6 +252,4 @@ public class HwvtepOperGlobalListener implements ClusteredDataTreeChangeListener
         }
         return node;
     }
-
-
 }