Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Issue fix for config subsystem
[controller.git]
/
opendaylight
/
config
/
yang-jmx-generator
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
config
/
yangjmxgenerator
/
attribute
/
JavaAttribute.java
diff --git
a/opendaylight/config/yang-jmx-generator/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/attribute/JavaAttribute.java
b/opendaylight/config/yang-jmx-generator/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/attribute/JavaAttribute.java
index fac4d5743229501fd7827269a8c810ac6b6f54a1..8d3139999e64db347e927dfa6dfc0e083c815a55 100644
(file)
--- a/
opendaylight/config/yang-jmx-generator/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/attribute/JavaAttribute.java
+++ b/
opendaylight/config/yang-jmx-generator/src/main/java/org/opendaylight/controller/config/yangjmxgenerator/attribute/JavaAttribute.java
@@
-96,24
+96,30
@@
public class JavaAttribute 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;
+ }
JavaAttribute that = (JavaAttribute) o;
if (nullableDefault != null ? !nullableDefault
JavaAttribute that = (JavaAttribute) 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;
- if (type != null ? !type.equals(that.type) : that.type != null)
+ }
+ if (type != null ? !type.equals(that.type) : that.type != null) {
return false;
return false;
+ }
return true;
}
return true;
}