ICU-9938 Fixed a coding problem detected by FindBugs - replacing == with equals().
X-SVN-Rev: 33235
This commit is contained in:
parent
915f2365a3
commit
92c0aa3b98
@ -741,7 +741,7 @@ public class Currency extends MeasureUnit implements Serializable {
|
||||
int i = 0;
|
||||
for (; i < resultList.size(); i++) {
|
||||
CurrencyStringInfo tmp = resultList.get(i);
|
||||
if (item.getISOCode() == tmp.getISOCode()) {
|
||||
if (item.getISOCode().equals(tmp.getISOCode())) {
|
||||
if (matchLength > tmp.getCurrencyString().length()) {
|
||||
resultList.set(i, item);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user