Utility classes need to be final and have a private constructor.
Change-Id: I4f7ad749415a068be324bfe23c79110b96c4ed10
Signed-off-by: Robert Varga <rovarga@cisco.com>
* and is available at http://www.eclipse.org/legal/epl-v10.html
*
*/
-
package org.opendaylight.controller.cluster.datastore.node.utils.stream;
-public class NodeTypes {
-
+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 ANY_XML_NODE = 12;
public static final byte END_NODE = 13;
+ private NodeTypes() {
+ throw new UnsupportedOperationException("utility class");
+ }
}