summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-18 11:14:53 +0200
committerNoel Grandin <noel@peralex.com>2015-01-05 09:58:43 +0200
commit08e8bd4eaf19df693fe0b17c91e8fb566b1f82f9 (patch)
treedf028de6b967263a948f1ada4305e31e26e2bb9a /qadevOOo
parent3c6d932fa841e102818abd31b7538728085d99e1 (diff)
java: compare Strings using equals()
not == Found by FindBugs. Change-Id: I74805f1187bd623433ad097dec1015a3cf5f45ac
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java b/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
index 4510c88f63cb..c11b2360b883 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
@@ -199,7 +199,7 @@ public class _XCharacterClassification extends MultiMethodTest {
for (int i=0;i<characters.length;i++) {
int get = oObj.getType(toCheck, i);
- res &= (charstyles_office[get] == charstyles_office[i]);
+ res &= charstyles_office[get].equals(charstyles_office[i]);
if (!res) {
log.println("Code :" + Integer.toHexString(charsInt[i]));
log.println("Gained: " + charstyles_office[get]);