Bug 2245 - Fixed 'If Stmts Must Use Braces'
[openflowjava.git] / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / deserialization / TypeToClassKey.java
index 8be2df3e07337b9ac7a8173677b294e58af2585a..7774937bb432a508026bff1488bd7e804821037d 100644 (file)
@@ -36,17 +36,22 @@ public class TypeToClassKey {
 \r
     @Override\r
     public boolean equals(Object obj) {\r
-        if (this == obj)\r
+        if (this == obj) {\r
             return true;\r
-        if (obj == null)\r
+        }\r
+        if (obj == null) {\r
             return false;\r
-        if (getClass() != obj.getClass())\r
+        }\r
+        if (getClass() != obj.getClass()) {\r
             return false;\r
+        }\r
         TypeToClassKey other = (TypeToClassKey) obj;\r
-        if (type != other.type)\r
+        if (type != other.type) {\r
             return false;\r
-        if (version != other.version)\r
+        }\r
+        if (version != other.version) {\r
             return false;\r
+        }\r
         return true;\r
     }\r
-}\r
+}
\ No newline at end of file