Do not leak internal methods 11/28711/3
authorRobert Varga <rovarga@cisco.com>
Thu, 22 Oct 2015 20:39:39 +0000 (22:39 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 28 Oct 2015 15:04:21 +0000 (15:04 +0000)
applyTouch() is method internal to implementation, it should be left
protected, not public.

Change-Id: Ic57e5bffe66171747650bf13f501f89f8a59fd57
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/AbstractNodeContainerModificationStrategy.java

index 5a8bf47aefc2524b8a387e4ac3afa23e3fc18fe1..3b0b586b12c9d5d2107667392b2a0fea6b7c246f 100644 (file)
@@ -137,7 +137,7 @@ abstract class AbstractNodeContainerModificationStrategy extends SchemaAwareAppl
     }
 
     @Override
-    public TreeNode applyTouch(final ModifiedNode modification, final TreeNode currentMeta, final Version version) {
+    protected TreeNode applyTouch(final ModifiedNode modification, final TreeNode currentMeta, final Version version) {
         /*
          * The user may have issued an empty merge operation. In this case we do not perform
          * a data tree mutation, do not pass GO, and do not collect useless garbage. It