Remove trailing whitespace
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / extensibility / EnhancedMessageTypeKey.java
index d2ce5a91e8f8b49d02ef5811642900ea3863f304..1f98721807068dee4042ca434ad73c75438b07fe 100644 (file)
@@ -1,66 +1,66 @@
-/*\r
- * Copyright (c) 2013 Pantheon Technologies s.r.o. and others.  All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-package org.opendaylight.openflowjava.protocol.api.extensibility;\r
-\r
-\r
-/**\r
- * More specific key for {@link SerializerRegistry}\r
- * @author michal.polkorab\r
- * @param <E> main type\r
- * @param <F> specific type\r
- */\r
-public class EnhancedMessageTypeKey<E, F> extends MessageTypeKey<E> {\r
-\r
-    private final Class<F> msgType2;\r
-\r
-    /**\r
-     * @param msgVersion\r
-     * @param msgType\r
-     * @param msgType2\r
-     */\r
-    public EnhancedMessageTypeKey(short msgVersion, Class<E> msgType, Class<F> msgType2) {\r
-        super(msgVersion, msgType);\r
-        this.msgType2 = msgType2;\r
-    }\r
-\r
-    @Override\r
-    public int hashCode() {\r
-        final int prime = 31;\r
-        int result = super.hashCode();\r
-        result = prime * result + ((msgType2 == null) ? 0 : msgType2.hashCode());\r
-        return result;\r
-    }\r
-    \r
-    @Override\r
-    public boolean equals(Object obj) {\r
-        if (this == obj) {\r
-            return true;\r
-        }\r
-        if (!super.equals(obj)) {\r
-            return false;\r
-        }\r
-        if (getClass() != obj.getClass()) {\r
-            return false;\r
-        }\r
-        @SuppressWarnings("rawtypes")\r
-        EnhancedMessageTypeKey other = (EnhancedMessageTypeKey) obj;\r
-        if (msgType2 == null) {\r
-            if (other.msgType2 != null) {\r
-                return false;\r
-            }\r
-        } else if (!msgType2.getName().equals(other.msgType2.getName())) {\r
-            return false;\r
-        }\r
-        return true;\r
-    }\r
-\r
-    @Override\r
-    public String toString() {\r
-        return super.toString() + " msgType2: " + msgType2.getName();\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.extensibility;
+
+
+/**
+ * More specific key for {@link SerializerRegistry}
+ * @author michal.polkorab
+ * @param <E> main type
+ * @param <F> specific type
+ */
+public class EnhancedMessageTypeKey<E, F> extends MessageTypeKey<E> {
+
+    private final Class<F> msgType2;
+
+    /**
+     * @param msgVersion
+     * @param msgType
+     * @param msgType2
+     */
+    public EnhancedMessageTypeKey(short msgVersion, Class<E> msgType, Class<F> msgType2) {
+        super(msgVersion, msgType);
+        this.msgType2 = msgType2;
+    }
+
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = super.hashCode();
+        result = prime * result + ((msgType2 == null) ? 0 : msgType2.hashCode());
+        return result;
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+        if (this == obj) {
+            return true;
+        }
+        if (!super.equals(obj)) {
+            return false;
+        }
+        if (getClass() != obj.getClass()) {
+            return false;
+        }
+        @SuppressWarnings("rawtypes")
+        EnhancedMessageTypeKey other = (EnhancedMessageTypeKey) obj;
+        if (msgType2 == null) {
+            if (other.msgType2 != null) {
+                return false;
+            }
+        } else if (!msgType2.getName().equals(other.msgType2.getName())) {
+            return false;
+        }
+        return true;
+    }
+
+    @Override
+    public String toString() {
+        return super.toString() + " msgType2: " + msgType2.getName();
+    }
 }