Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"
[controller.git]
/
opendaylight
/
sal
/
api
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
action
/
SetDlDst.java
diff --git
a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/action/SetDlDst.java
b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/action/SetDlDst.java
index c2c40bfcc8df8b70e9d007e992f16a463b95186e..da6dc93943e3ba6450b43b0995ee6458ee0fe7f0 100644
(file)
--- a/
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/action/SetDlDst.java
+++ b/
opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/action/SetDlDst.java
@@
-1,4
+1,3
@@
-
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
/*
* 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
/**
* Set destination datalayer address action
- *
*/
@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
*/
@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
-
public class SetDlDst extends Action {
public class SetDlDst extends Action {
+ private static final long serialVersionUID = 1L;
private byte[] address;
/* Dummy constructor for JAXB */
private byte[] address;
/* Dummy constructor for JAXB */
- private SetDlDst () {
+ @SuppressWarnings("unused")
+ private SetDlDst() {
}
public SetDlDst(byte[] dlAddress) {
}
public SetDlDst(byte[] dlAddress) {
@@
-53,15
+52,19
@@
public class SetDlDst extends Action {
@Override
public boolean equals(Object obj) {
@Override
public boolean equals(Object obj) {
- if (this == obj)
+ if (this == obj)
{
return true;
return true;
- if (!super.equals(obj))
+ }
+ if (!super.equals(obj)) {
return false;
return false;
- if (getClass() != obj.getClass())
+ }
+ if (getClass() != obj.getClass()) {
return false;
return false;
+ }
SetDlDst other = (SetDlDst) obj;
SetDlDst other = (SetDlDst) obj;
- if (!Arrays.equals(address, other.address))
+ if (!Arrays.equals(address, other.address))
{
return false;
return false;
+ }
return true;
}
return true;
}