diff options
author | Narayan Kamath <narayan@google.com> | 2014-11-04 13:53:46 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-11-04 14:05:33 +0000 |
commit | 773c665755e7040b13e68c73041df95fa713ecef (patch) | |
tree | eb55895e47cda6bc5779d1e8581b4d2a918d7498 | |
parent | a74be3623ad167b3e380302d03253d0b269426a7 (diff) | |
download | libcore-773c665755e7040b13e68c73041df95fa713ecef.zip libcore-773c665755e7040b13e68c73041df95fa713ecef.tar.gz libcore-773c665755e7040b13e68c73041df95fa713ecef.tar.bz2 |
Use equals for comparing percent strings.
bug: 18235329
bug: 15476051
(cherry picked from commit f412a78060760e0aa41bc75a5ab115b6369016de)
Change-Id: Ie39e9e014075331aaf5c6b27212fdfdfc42e0380
-rw-r--r-- | luni/src/main/java/java/text/DecimalFormatSymbols.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luni/src/main/java/java/text/DecimalFormatSymbols.java b/luni/src/main/java/java/text/DecimalFormatSymbols.java index 85f71a6..9750e6d 100644 --- a/luni/src/main/java/java/text/DecimalFormatSymbols.java +++ b/luni/src/main/java/java/text/DecimalFormatSymbols.java @@ -189,7 +189,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable { NaN.equals(obj.NaN) && patternSeparator == obj.patternSeparator && perMill == obj.perMill && - percent == obj.percent && + percent.equals(obj.percent) && zeroDigit == obj.zeroDigit; } |