These methods can be made static.
Change-Id: I6943921e69b5291d6586ffba42fc246de80bd82a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
assertTrue(myLeafCtx == targetCtx.getReferencedByLeafRefCtxByName(foo("my-leaf")));
}
- private void assertLeafRef(final LeafRefContext leafRefToTest, final LeafRefPath expectedLeafRefPath) {
+ private static void assertLeafRef(final LeafRefContext leafRefToTest, final LeafRefPath expectedLeafRefPath) {
assertNotNull(leafRefToTest);
assertNotNull(expectedLeafRefPath);
assertTrue(leafRefToTest.getReferencedByChilds().isEmpty());
writeInnerList(inMemoryDataTree);
}
- private void writeInnerList(final InMemoryDataTree inMemoryDataTree) throws DataValidationFailedException {
+ private static void writeInnerList(final InMemoryDataTree inMemoryDataTree) throws DataValidationFailedException {
final InMemoryDataTreeModification modificationTree = inMemoryDataTree.takeSnapshot().newModification();
modificationTree.write(
YangInstanceIdentifier.create(