Copyright update
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / util / BinContent.java
index 6227070f4a37f32e7591b0d4f3a25c939d9d6db2..171a684d2c237c84137c4e51965fd3a2f47ad87b 100644 (file)
@@ -1,25 +1,32 @@
-/* Copyright (C)2013 Pantheon Technologies, s.r.o. All rights reserved. */\r
-package org.opendaylight.openflowjava.protocol.api.util;\r
-\r
-/**\r
- * @author michal.polkorab\r
- *\r
- */\r
-public abstract class BinContent {\r
-\r
-    /**\r
-     * @param value\r
-     * @return int part wrapped in long\r
-     */\r
-    public static long intToUnsignedLong(int value) {\r
-        return value & 0x00000000ffffffffL;\r
-    }\r
-    \r
-    /**\r
-     * @param value\r
-     * @return long cut into int\r
-     */\r
-    public static int longToSignedInt(long value) {\r
-        return (int) value;\r
-    }\r
-}\r
+/*
+ * Copyright (c) 2013 Pantheon Technologies s.r.o. 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.openflowjava.protocol.api.util;
+
+/**
+ * @author michal.polkorab
+ *
+ */
+public abstract class BinContent {
+
+    /**
+     * @param value
+     * @return int part wrapped in long
+     */
+    public static long intToUnsignedLong(int value) {
+        return value & 0x00000000ffffffffL;
+    }
+    
+    /**
+     * @param value
+     * @return long cut into int
+     */
+    public static int longToSignedInt(long value) {
+        return (int) value;
+    }
+}