diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 14:53:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 14:55:16 +0200 |
commit | 3f50c6e050ea922cb720ec88a9f38c991b1906cd (patch) | |
tree | 3142aef5dcdb47f4de7b1dab7efa855ce391a477 /qadevOOo/tests/java/ifc/text | |
parent | b73db446ac9681fdfc4ad602c6da7ce3e36a8588 (diff) |
java: remove ((unnecessary)) parentheses
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
Diffstat (limited to 'qadevOOo/tests/java/ifc/text')
-rw-r--r-- | qadevOOo/tests/java/ifc/text/_XFootnote.java | 2 | ||||
-rw-r--r-- | qadevOOo/tests/java/ifc/text/_XPagePrintable.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/text/_XFootnote.java b/qadevOOo/tests/java/ifc/text/_XFootnote.java index 0bb4057802bf..acd7fa5f8f0c 100644 --- a/qadevOOo/tests/java/ifc/text/_XFootnote.java +++ b/qadevOOo/tests/java/ifc/text/_XFootnote.java @@ -85,7 +85,7 @@ public class _XFootnote extends MultiMethodTest { String res = oObj.getLabel(); log.println("verify setLabel result"); - result = (res.equals(str)); + result = res.equals(str); if (result) { log.println(" ... setLabel() - OK"); } diff --git a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java b/qadevOOo/tests/java/ifc/text/_XPagePrintable.java index a7239f819280..7268118dd3dc 100644 --- a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java +++ b/qadevOOo/tests/java/ifc/text/_XPagePrintable.java @@ -95,7 +95,7 @@ public class _XPagePrintable extends MultiMethodTest { Boolean newlandscape = Boolean.valueOf(!landscape.booleanValue()); PrintSettings[8].Value = newlandscape; oObj.setPagePrintSettings(PrintSettings); - res = (oObj.getPagePrintSettings()[8].Value.equals(newlandscape)); + res = oObj.getPagePrintSettings()[8].Value.equals(newlandscape); tRes.tested("setPagePrintSettings()",res); } |