summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-11-04 14:04:18 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-04 14:04:18 +0000
commit2b32e9ac55dc769211ce73d9140b7ec9f0a7f54d (patch)
tree37217929b8ae5dab06653a63a391fe52fafe09a7
parent140f3a336ff5383b3462a720786143f3dda347bf (diff)
parentf412a78060760e0aa41bc75a5ab115b6369016de (diff)
downloadlibcore-2b32e9ac55dc769211ce73d9140b7ec9f0a7f54d.zip
libcore-2b32e9ac55dc769211ce73d9140b7ec9f0a7f54d.tar.gz
libcore-2b32e9ac55dc769211ce73d9140b7ec9f0a7f54d.tar.bz2
Merge "Use equals for comparing percent strings."
-rw-r--r--luni/src/main/java/java/text/DecimalFormatSymbols.java2
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;
}