[Libreoffice-commits] core.git: qadevOOo/runner
jan iversen
jani at documentfoundation.org
Mon Dec 7 22:29:24 PST 2015
qadevOOo/runner/util/ValueComparer.java | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
New commits:
commit a9824e8e05bddbf8ec417c7e5447914dd22cb8e5
Author: jan iversen <jani at documentfoundation.org>
Date: Fri Dec 4 12:45:43 2015 +0100
cid#1326591, cid#1326590 useless call
The call does not do anything, removed.
Change-Id: I24e37ec47551f7dc47a4be6f717f95800624500f
Reviewed-on: https://gerrit.libreoffice.org/20392
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/qadevOOo/runner/util/ValueComparer.java b/qadevOOo/runner/util/ValueComparer.java
index dfc0768..4d54d14 100644
--- a/qadevOOo/runner/util/ValueComparer.java
+++ b/qadevOOo/runner/util/ValueComparer.java
@@ -239,10 +239,13 @@ public class ValueComparer {
result = true;
else if(XInterface.class.isAssignableFrom(op1.getClass()) && XInterface.class.isAssignableFrom(op2.getClass()))
- compareInterfaces((XInterface)op1, (XInterface)op2);
-
+ {
+ // ignore
+ }
else if(Enum.class.isAssignableFrom(op1.getClass()) && Enum.class.isAssignableFrom(op2.getClass()))
- compareEnums((Enum)op1, (Enum)op2);
+ {
+ // ignore
+ }
else if(op1.getClass() == String.class && op2.getClass() == String.class) // is it a String ?
result = ((String)op1).equals(op2);
More information about the Libreoffice-commits
mailing list