X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fnode%2Futils%2FPathUtilsTest.java;h=9010f6ea7a7e427fa8feff838dc418bfb46e4ae1;hp=75e8e2aa4a45c2106b5ccb70baa5a0220b667e74;hb=ecccb6d5b43dd73aef0d2d19349d19ee9b4728f7;hpb=b3bf00226d83387a060d97a4f573377f07e93b5a diff --git a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtilsTest.java b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtilsTest.java index 75e8e2aa4a..9010f6ea7a 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtilsTest.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/test/java/org/opendaylight/controller/cluster/datastore/node/utils/PathUtilsTest.java @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + package org.opendaylight.controller.cluster.datastore.node.utils; import com.google.common.collect.ImmutableSet; @@ -85,21 +93,21 @@ public class PathUtilsTest { } - private YangInstanceIdentifier.NodeIdentifier nodeIdentifier(){ + private static YangInstanceIdentifier.NodeIdentifier nodeIdentifier(){ return new YangInstanceIdentifier.NodeIdentifier(TestModel.TEST_QNAME); } - private YangInstanceIdentifier.AugmentationIdentifier augmentationIdentifier(){ + private static YangInstanceIdentifier.AugmentationIdentifier augmentationIdentifier(){ Set childNames = ImmutableSet.of(QNameFactory.create("(urn:opendaylight:flow:table:statistics?revision=2013-12-15)flow-table-statistics")); return new YangInstanceIdentifier.AugmentationIdentifier(childNames); } - private YangInstanceIdentifier.NodeWithValue nodeWithValue(){ + private static YangInstanceIdentifier.NodeWithValue nodeWithValue(){ return new YangInstanceIdentifier.NodeWithValue(TestModel.TEST_QNAME, Integer.valueOf(100)); } - private YangInstanceIdentifier.NodeIdentifierWithPredicates nodeIdentifierWithPredicates(){ + private static YangInstanceIdentifier.NodeIdentifierWithPredicates nodeIdentifierWithPredicates(){ Map keys = new HashMap<>(); keys.put(TestModel.ID_QNAME, Integer.valueOf(100));