Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Changed codec for Identityref in JSON transformation
[controller.git]
/
opendaylight
/
md-sal
/
sal-rest-connector
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
sal
/
restconf
/
impl
/
test
/
structures
/
Lf.java
diff --git
a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/structures/Lf.java
b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/structures/Lf.java
index a1e06c3cabfa1d1cbeb207c676da1583cb4643d2..afd40d1c2ba6aee49ed4124380e1cddd14b98585 100644
(file)
--- a/
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/structures/Lf.java
+++ b/
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/structures/Lf.java
@@
-1,21
+1,20
@@
package org.opendaylight.controller.sal.restconf.impl.test.structures;
public class Lf extends YangElement {
package org.opendaylight.controller.sal.restconf.impl.test.structures;
public class Lf extends YangElement {
- private
String
value;
+ private
Object
value;
private int numOfEqualItems = 0;
private int numOfEqualItems = 0;
-
- public Lf(String name, String value) {
+ public Lf(String name, Object value) {
super(name);
this.value = value;
}
super(name);
this.value = value;
}
- public Lf(
String
value) {
+ public Lf(
Object
value) {
super("");
this.value = value;
}
super("");
this.value = value;
}
- public
String
getValue() {
+ public
Object
getValue() {
return value;
}
return value;
}
@@
-43,11
+42,10
@@
public class Lf extends YangElement {
}
return true;
}
}
return true;
}
-
+
public void incNumOfEqualItems() {
this.numOfEqualItems++;
}
public void incNumOfEqualItems() {
this.numOfEqualItems++;
}
-
@Override
public int hashCode() {
@Override
public int hashCode() {