summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-20 15:32:38 +0200
committerNoel Grandin <noel@peralex.com>2014-10-07 13:20:02 +0200
commitf9be44340a1fbabb67c7a33d8c9b4766a56c1fde (patch)
treebc4ca4eccbe7deefbf42a27862fcdb4440a18c32 /qadevOOo/tests/java/ifc
parentdc53e3027bb1a278164f15d0a31f20c15608d10e (diff)
java: use equals() to compare Strings, not ==
Change-Id: Ia41a4899fb82df7b580a020765404c4ef0cddfa2
Diffstat (limited to 'qadevOOo/tests/java/ifc')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java
index fc21d22263c5..5b946e75697b 100644
--- a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java
+++ b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java
@@ -98,7 +98,7 @@ public class _TableAutoFormatField extends MultiPropertyTest {
testProperty("CharLocale", new PropertyTester() {
@Override
protected Object getNewValue(String p, Object old) {
- return old == null || ((Locale)old).Language == "de" ?
+ return old == null || ((Locale)old).Language.equals( "de" ) ?
new Locale("es", "ES", "") : new Locale("de", "DE", "") ;
}
}) ;