Mass conversion to static methods
[netconf.git] / restconf / sal-rest-connector / src / test / java / org / opendaylight / controller / sal / restconf / impl / test / CutDataToCorrectDepthTest.java
index 1e820f3df97f3e1dc1b76a95ff830a586e5191c1..ecec06cd6b6709cc1331184dab80b9f96a08e4b9 100644 (file)
@@ -9,6 +9,7 @@ package org.opendaylight.controller.sal.restconf.impl.test;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
+
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.util.HashMap;
@@ -305,15 +306,13 @@ public class CutDataToCorrectDepthTest extends JerseyTest {
         return new NodeWithValue(QName.create("urn:nested:module", "2014-06-3", localName), value);
     }
 
-
-
-    private UnkeyedListEntryNode nodeDataDepth3Operational() {
+    private static UnkeyedListEntryNode nodeDataDepth3Operational() {
         return unkeyedEntry("depth2-cont1",
                 container("depth3-cont1", container("depth4-cont1"), leaf("depth4-leaf1", "depth4-leaf1-value")),
                 leaf("depth3-leaf1", "depth3-leaf1-value"));
     }
 
-    private ContainerNode nodeDataDepth5() {
+    private static ContainerNode nodeDataDepth5() {
         return container(
                 "depth1-cont",
                 unkeyedList(
@@ -335,7 +334,7 @@ public class CutDataToCorrectDepthTest extends JerseyTest {
                 leaf("depth2-leaf1", "depth2-leaf1-value"));
     }
 
-    private ContainerNode nodeDataDepth4() {
+    private static ContainerNode nodeDataDepth4() {
         return container(
                 "depth1-cont",
                 unkeyedList("depth2-cont1", nodeDataDepth3Operational()),
@@ -349,7 +348,7 @@ public class CutDataToCorrectDepthTest extends JerseyTest {
                         leaf("depth3-leaf2", "depth3-leaf2-value")), leaf("depth2-leaf1", "depth2-leaf1-value"));
     }
 
-    private ContainerNode nodeDataDepth3() {
+    private static ContainerNode nodeDataDepth3() {
         return container(
                 "depth1-cont",
                 unkeyedList("depth2-cont1",
@@ -362,7 +361,7 @@ public class CutDataToCorrectDepthTest extends JerseyTest {
                 leaf("depth2-leaf1", "depth2-leaf1-value"));
     }
 
-    private ContainerNode nodeDataDepth2() {
+    private static ContainerNode nodeDataDepth2() {
         return container(
                 "depth1-cont",
                 unkeyedList("depth2-cont1", unkeyedEntry("depth2-cont1")),
@@ -373,7 +372,7 @@ public class CutDataToCorrectDepthTest extends JerseyTest {
                 leaf("depth2-leaf1", "depth2-leaf1-value"));
     }
 
-    private ContainerNode nodeDataDepth1() {
+    private static ContainerNode nodeDataDepth1() {
         return container("depth1-cont");
     }
 }