Bug 1029: Remove dead code: samples/clustersession
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / action / SetDlDst.java
index c2c40bfcc8df8b70e9d007e992f16a463b95186e..da6dc93943e3ba6450b43b0995ee6458ee0fe7f0 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
  *
@@ -20,16 +19,16 @@ import org.opendaylight.controller.sal.utils.HexEncode;
 
 /**
  * Set destination datalayer address action
- *
  */
 @XmlRootElement
 @XmlAccessorType(XmlAccessType.NONE)
-
 public class SetDlDst extends Action {
+    private static final long serialVersionUID = 1L;
     private byte[] address;
 
     /* Dummy constructor for JAXB */
-    private SetDlDst () {
+    @SuppressWarnings("unused")
+    private SetDlDst() {
     }
 
     public SetDlDst(byte[] dlAddress) {
@@ -53,15 +52,19 @@ public class SetDlDst extends Action {
 
     @Override
     public boolean equals(Object obj) {
-        if (this == obj)
+        if (this == obj) {
             return true;
-        if (!super.equals(obj))
+        }
+        if (!super.equals(obj)) {
             return false;
-        if (getClass() != obj.getClass())
+        }
+        if (getClass() != obj.getClass()) {
             return false;
+        }
         SetDlDst other = (SetDlDst) obj;
-        if (!Arrays.equals(address, other.address))
+        if (!Arrays.equals(address, other.address)) {
             return false;
+        }
         return true;
     }