Drop public modifier from NodeTypes 99/83999/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 26 Aug 2019 21:17:51 +0000 (23:17 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 26 Aug 2019 22:09:56 +0000 (00:09 +0200)
The class itself is not visible outside of the package, there is no
point to declare the constants as public.

Change-Id: I4136a71c538452aba33a5abb3337e0f8fc7e8da8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NodeTypes.java

index dc034cc7ae8d870ce6836dd83215075a23103bd9..6ca1f1306c50282e828dd1ae30049b1bde870c2e 100644 (file)
@@ -5,25 +5,24 @@
  * 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.stream;
 
 final class NodeTypes {
-    public static final byte LEAF_NODE = 1;
-    public static final byte LEAF_SET = 2;
-    public static final byte LEAF_SET_ENTRY_NODE = 3;
-    public static final byte CONTAINER_NODE = 4;
-    public static final byte UNKEYED_LIST = 5;
-    public static final byte UNKEYED_LIST_ITEM = 6;
-    public static final byte MAP_NODE = 7;
-    public static final byte MAP_ENTRY_NODE = 8;
-    public static final byte ORDERED_MAP_NODE = 9;
-    public static final byte CHOICE_NODE = 10;
-    public static final byte AUGMENTATION_NODE = 11;
-    public static final byte ANY_XML_NODE = 12;
-    public static final byte END_NODE = 13;
-    public static final byte ORDERED_LEAF_SET = 14;
-    public static final byte YANG_MODELED_ANY_XML_NODE = 15;
+    static final byte LEAF_NODE = 1;
+    static final byte LEAF_SET = 2;
+    static final byte LEAF_SET_ENTRY_NODE = 3;
+    static final byte CONTAINER_NODE = 4;
+    static final byte UNKEYED_LIST = 5;
+    static final byte UNKEYED_LIST_ITEM = 6;
+    static final byte MAP_NODE = 7;
+    static final byte MAP_ENTRY_NODE = 8;
+    static final byte ORDERED_MAP_NODE = 9;
+    static final byte CHOICE_NODE = 10;
+    static final byte AUGMENTATION_NODE = 11;
+    static final byte ANY_XML_NODE = 12;
+    static final byte END_NODE = 13;
+    static final byte ORDERED_LEAF_SET = 14;
+    static final byte YANG_MODELED_ANY_XML_NODE = 15;
 
     private NodeTypes() {
         throw new UnsupportedOperationException("utility class");