mdsalutil-api clean up Checkstyle violations (not enforced yet)
[genius.git] / mdsalutil / mdsalutil-api / src / main / java / org / opendaylight / genius / mdsalutil / matches / MatchVlanVid.java
index b5105a8a5ec5faca7ae2ab2b1426420954315d12..ff02d742b62c3ef70f76a59fc775173be01c5c6f 100644 (file)
@@ -41,12 +41,18 @@ public class MatchVlanVid extends MatchInfoHelper<VlanMatch, VlanMatchBuilder> {
     }
 
     @Override
-    public boolean equals(Object o) {
-        if (this == o) return true;
-        if (o == null || getClass() != o.getClass()) return false;
-        if (!super.equals(o)) return false;
+    public boolean equals(Object other) {
+        if (this == other) {
+            return true;
+        }
+        if (other == null || getClass() != other.getClass()) {
+            return false;
+        }
+        if (!super.equals(other)) {
+            return false;
+        }
 
-        MatchVlanVid that = (MatchVlanVid) o;
+        MatchVlanVid that = (MatchVlanVid) other;
 
         return vlanId == that.vlanId;
     }