Bug 2245 - Fixed 'If Stmts Must Use Braces'
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / extensibility / EnhancedMessageCodeKey.java
index 8db03d938f730b949f184b99323a4ea653371e2c..08db5a013400515673f82f4df3f9119422a66c83 100644 (file)
@@ -37,15 +37,19 @@ public class EnhancedMessageCodeKey extends MessageCodeKey {
 \r
     @Override\r
     public boolean equals(Object obj) {\r
-        if (this == obj)\r
+        if (this == obj) {\r
             return true;\r
-        if (!super.equals(obj))\r
+        }\r
+        if (!super.equals(obj)) {\r
             return false;\r
-        if (getClass() != obj.getClass())\r
+        }\r
+        if (getClass() != obj.getClass()) {\r
             return false;\r
+        }\r
         EnhancedMessageCodeKey other = (EnhancedMessageCodeKey) obj;\r
-        if (msgType2 != other.msgType2)\r
+        if (msgType2 != other.msgType2) {\r
             return false;\r
+        }\r
         return true;\r
     }\r
 \r