Bug 2245 - Fixed 'Hide Utility Class Constructor'
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / util / ActionConstants.java
index d09d2dd520b9233f40916f86219b3fa39fc8dd06..cb7b051e9c7c535700a5bade4eb9b64b6e887d06 100644 (file)
@@ -12,7 +12,7 @@ package org.opendaylight.openflowjava.protocol.impl.util;
  * @author michal.polkorab\r
  *\r
  */\r
-public class ActionConstants {\r
+public final class ActionConstants {\r
 \r
     /** Openflow v1.0 & v1.3 OFPAT_OUTPUT code */\r
     public static final byte OUTPUT_CODE = 0;\r
@@ -101,4 +101,7 @@ public class ActionConstants {
     /** Action header size */\r
     public static final byte ACTION_IDS_LENGTH = 4;\r
 \r
+    private ActionConstants() {\r
+        throw new UnsupportedOperationException("Utility class shouldn't be instantiated");\r
+    }\r
 }\r