BUG-3907: openflow-plugin-api does not build with jdk8
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / util / BinContent.java
index aa322f915815548ccc7e2f5d90611f7509ab07c4..995fd350300590beccd792b36f644bbadaba6f8f 100644 (file)
@@ -14,16 +14,20 @@ package org.opendaylight.openflowjava.protocol.api.util;
  */
 public abstract class BinContent {
 
+    private BinContent() {
+        //not called
+    }
+
     /**
-     * @param value
-     * @return int part wrapped in long
+     * @param value input integer value (might be negative)
+     * @return int part wrapped in long (always positive)
      */
     public static long intToUnsignedLong(int value) {
         return value & 0x00000000ffffffffL;
     }
 
     /**
-     * @param value
+     * @param value input long value
      * @return long cut into int
      */
     public static int longToSignedInt(long value) {