Bug 2245 - Fixed 'If Stmts Must Use Braces'
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / keys / experimenter / ExperimenterActionSerializerKey.java
index f9f3cb113e9897db5d47a9cd9c2dead11924098c..45b2d02aae405dfe5803872c45095ada2840a981 100644 (file)
@@ -40,19 +40,23 @@ public final class ExperimenterActionSerializerKey extends ActionSerializerKey<E
 \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
         ExperimenterActionSerializerKey other = (ExperimenterActionSerializerKey) obj;\r
         if (actionSubType == null) {\r
-            if (other.actionSubType != null)\r
+            if (other.actionSubType != null) {\r
                 return false;\r
-        } else if (!actionSubType.equals(other.actionSubType))\r
+            }\r
+        } else if (!actionSubType.equals(other.actionSubType)) {\r
             return false;\r
+        }\r
         return true;\r
     }\r
-\r
 }
\ No newline at end of file