Bug 2245 - Fixed 'If Stmts Must Use Braces'
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / deserialization / MessageTypeCodeKey.java
index bb4368abc2ae25dd4ba7c751e0cdfb230d043dcf..d623297e732c5d93930d53c2bf575a2a28881032 100644 (file)
@@ -53,18 +53,22 @@ public class MessageTypeCodeKey {
 
     @Override
     public boolean equals(Object obj) {
-        if (this == obj)
+        if (this == obj) {
             return true;
-        if (obj == null)
+        }
+        if (obj == null) {
             return false;
-        if (getClass() != obj.getClass())
+        }
+        if (getClass() != obj.getClass()) {
             return false;
+        }
         MessageTypeCodeKey other = (MessageTypeCodeKey) obj;
-        if (msgType != other.msgType)
+        if (msgType != other.msgType) {
             return false;
-        if (msgVersion != other.msgVersion)
+        }
+        if (msgVersion != other.msgVersion) {
             return false;
+        }
         return true;
     }
-    
-}
+}
\ No newline at end of file