Merge "Make TransactionProxy.isRootPath() static"
authorTom Pantelis <tpanteli@brocade.com>
Fri, 24 Apr 2015 00:42:10 +0000 (00:42 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 24 Apr 2015 00:42:10 +0000 (00:42 +0000)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionProxy.java

index f12fdd99eab792080069f38bebe1a721a71f1b32..361a221dd5d8589eb2c04cbdd42ce94f4737493e 100644 (file)
@@ -159,7 +159,7 @@ public class TransactionProxy extends AbstractDOMStoreTransaction<TransactionIde
         return false;
     }
 
-    private boolean isRootPath(YangInstanceIdentifier path){
+    private static boolean isRootPath(YangInstanceIdentifier path) {
         return !path.getPathArguments().iterator().hasNext();
     }