summaryrefslogtreecommitdiffstats
path: root/qadevOOo/runner
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r--qadevOOo/runner/complexlib/ComplexTestCase.java2
-rw-r--r--qadevOOo/runner/helper/BuildEnvTools.java2
-rw-r--r--qadevOOo/runner/util/InstCreator.java2
-rw-r--r--qadevOOo/runner/util/ValueChanger.java2
-rw-r--r--qadevOOo/runner/util/utils.java2
5 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/runner/complexlib/ComplexTestCase.java b/qadevOOo/runner/complexlib/ComplexTestCase.java
index 56bc0b986198..4ece6ae2b610 100644
--- a/qadevOOo/runner/complexlib/ComplexTestCase.java
+++ b/qadevOOo/runner/complexlib/ComplexTestCase.java
@@ -119,7 +119,7 @@ public abstract class ComplexTestCase extends Assurance implements ComplexTest
int posLeftParenthesis = entryName.indexOf('(');
if (posLeftParenthesis != -1)
{
- String sParameter = (entryName.substring(posLeftParenthesis + 1, entryName.indexOf(')')));
+ String sParameter = entryName.substring(posLeftParenthesis + 1, entryName.indexOf(')'));
mTestMethodName = entryName;
parameter = new String[] { sParameter };
entryName = entryName.substring(0, posLeftParenthesis);
diff --git a/qadevOOo/runner/helper/BuildEnvTools.java b/qadevOOo/runner/helper/BuildEnvTools.java
index 2c10aa70cad7..b967ee7f5872 100644
--- a/qadevOOo/runner/helper/BuildEnvTools.java
+++ b/qadevOOo/runner/helper/BuildEnvTools.java
@@ -83,7 +83,7 @@ public class BuildEnvTools {
error = true;
}
- mCygwin = (param.getBool(PropertyName.CYGWIN));
+ mCygwin = param.getBool(PropertyName.CYGWIN);
if (error) {
throw new ParameterNotFoundException(msg);
diff --git a/qadevOOo/runner/util/InstCreator.java b/qadevOOo/runner/util/InstCreator.java
index de40b07c03b1..d517f0cd1e8c 100644
--- a/qadevOOo/runner/util/InstCreator.java
+++ b/qadevOOo/runner/util/InstCreator.java
@@ -88,7 +88,7 @@ public class InstCreator implements XInstCreator {
XFootnotesSupplier oTTS = UnoRuntime.queryInterface(
XFootnotesSupplier.class, xParent );
- return( oTTS.getFootnotes() );
+ return oTTS.getFootnotes();
}
if ( iDsc instanceof TextSectionDsc ) {
diff --git a/qadevOOo/runner/util/ValueChanger.java b/qadevOOo/runner/util/ValueChanger.java
index 008b98295f8d..ec796aec5757 100644
--- a/qadevOOo/runner/util/ValueChanger.java
+++ b/qadevOOo/runner/util/ValueChanger.java
@@ -153,7 +153,7 @@ public class ValueChanger {
com.sun.star.style.TabAlign TA1 = com.sun.star.style.TabAlign.CENTER;
com.sun.star.style.TabAlign TA2 = com.sun.star.style.TabAlign.RIGHT;
- if ((TSold.Alignment).equals(TA1))
+ if (TSold.Alignment.equals(TA1))
TS.Alignment = TA2;
else
TS.Alignment = TA1;
diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java
index dc019a4fcbfb..2ca7351db781 100644
--- a/qadevOOo/runner/util/utils.java
+++ b/qadevOOo/runner/util/utils.java
@@ -537,7 +537,7 @@ public class utils {
public static boolean isVoid(Object aObject) {
if (aObject instanceof com.sun.star.uno.Any) {
com.sun.star.uno.Any oAny = (com.sun.star.uno.Any) aObject;
- return (oAny.getType().getTypeName().equals("void"));
+ return oAny.getType().getTypeName().equals("void");
} else {
return false;
}