Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix Decimal64.equals()
[yangtools.git]
/
yang
/
yang-common
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
yang
/
common
/
Decimal64.java
diff --git
a/yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/Decimal64.java
b/yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/Decimal64.java
index e1039be4cfbe193c46d841ce08bb66f16cfe8fda..216409a673e985cf8e63e97e4dbe77a76fe8a82b 100644
(file)
--- a/
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/Decimal64.java
+++ b/
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/Decimal64.java
@@
-372,7
+372,7
@@
public class Decimal64 extends Number implements CanonicalValue<Decimal64> {
}
// We need to normalize both
- return intPart() == other.intPart() && fracPart() == fracPart();
+ return intPart() == other.intPart() && fracPart() ==
other.
fracPart();
}
@Override