Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG-2288: DOMNotification API
[controller.git]
/
opendaylight
/
config
/
yang-jmx-generator
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
config
/
yangjmxgenerator
/
attribute
/
ListAttribute.java
diff --git
a/opendaylight/config/yang-jmx-generator/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/attribute/ListAttribute.java
b/opendaylight/config/yang-jmx-generator/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/attribute/ListAttribute.java
index 73b557e291c03385823fb214fb0a96054d2b6610..bb71f9dbc733da09c17e6be379bde458a0df7591 100644
(file)
--- a/
opendaylight/config/yang-jmx-generator/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/attribute/ListAttribute.java
+++ b/
opendaylight/config/yang-jmx-generator/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/attribute/ListAttribute.java
@@
-82,22
+82,27
@@
public class ListAttribute extends AbstractAttribute implements TypedAttribute {
@Override
public boolean equals(Object o) {
@Override
public boolean equals(Object o) {
- if (this == o)
+ if (this == o)
{
return true;
return true;
- if (o == null || getClass() != o.getClass())
+ }
+ if (o == null || getClass() != o.getClass()) {
return false;
return false;
- if (!super.equals(o))
+ }
+ if (!super.equals(o)) {
return false;
return false;
+ }
ListAttribute that = (ListAttribute) o;
if (nullableDefault != null ? !nullableDefault
ListAttribute that = (ListAttribute) o;
if (nullableDefault != null ? !nullableDefault
- .equals(that.nullableDefault) : that.nullableDefault != null)
+ .equals(that.nullableDefault) : that.nullableDefault != null)
{
return false;
return false;
+ }
if (nullableDescription != null ? !nullableDescription
.equals(that.nullableDescription)
if (nullableDescription != null ? !nullableDescription
.equals(that.nullableDescription)
- : that.nullableDescription != null)
+ : that.nullableDescription != null)
{
return false;
return false;
+ }
return true;
}
return true;
}