summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-11 13:20:49 +0200
committerNoel Grandin <noel@peralex.com>2015-02-23 09:26:58 +0200
commitba233e87efddf0a6751b35784dca1c805364ff3b (patch)
tree9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /wizards
parenta2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (diff)
remove unnecessary parenthesis in return statements
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/common/JavaTools.java4
-rw-r--r--wizards/com/sun/star/wizards/form/CallFormWizard.java8
-rw-r--r--wizards/com/sun/star/wizards/query/CallQueryWizard.java8
-rw-r--r--wizards/com/sun/star/wizards/query/QuerySummary.java2
-rw-r--r--wizards/com/sun/star/wizards/report/CallReportWizard.java8
-rw-r--r--wizards/com/sun/star/wizards/report/ReportFinalizer.java2
-rw-r--r--wizards/com/sun/star/wizards/table/CallTableWizard.java8
7 files changed, 20 insertions, 20 deletions
diff --git a/wizards/com/sun/star/wizards/common/JavaTools.java b/wizards/com/sun/star/wizards/common/JavaTools.java
index 2c0d28c90846..aa8436c850d9 100644
--- a/wizards/com/sun/star/wizards/common/JavaTools.java
+++ b/wizards/com/sun/star/wizards/common/JavaTools.java
@@ -300,7 +300,7 @@ public class JavaTools
retarray = new String[retvector.size()];
retvector.toArray(retarray);
}
- return (retarray);
+ return retarray;
}
public static String[][] removeOutdatedFields(String[][] baselist, String[] _complist, int _compindex)
@@ -324,7 +324,7 @@ public class JavaTools
retvector.toArray(retarray);
}
}
- return (retarray);
+ return retarray;
}
public static String[][] removeOutdatedFields(String[][] baselist, String[] _complist)
diff --git a/wizards/com/sun/star/wizards/form/CallFormWizard.java b/wizards/com/sun/star/wizards/form/CallFormWizard.java
index 0cfec7b32812..5aedc274dff1 100644
--- a/wizards/com/sun/star/wizards/form/CallFormWizard.java
+++ b/wizards/com/sun/star/wizards/form/CallFormWizard.java
@@ -107,7 +107,7 @@ public class CallFormWizard
{
String[] stringSupportedServiceNames = new String[] { __serviceName };
- return (stringSupportedServiceNames);
+ return stringSupportedServiceNames;
}
/** This method returns true, if the given service will be
@@ -123,7 +123,7 @@ public class CallFormWizard
{
booleanSupportsService = true;
}
- return (booleanSupportsService);
+ return booleanSupportsService;
}
public byte[] getImplementationId()
@@ -136,7 +136,7 @@ public class CallFormWizard
*/
public java.lang.String getImplementationName()
{
- return (FormWizardImplementation.class.getName());
+ return FormWizardImplementation.class.getName();
}
/** Provides a sequence of all types (usually interface types)
@@ -162,7 +162,7 @@ public class CallFormWizard
System.err.println(exception);
}
- return (typeReturn);
+ return typeReturn;
}
}
}
diff --git a/wizards/com/sun/star/wizards/query/CallQueryWizard.java b/wizards/com/sun/star/wizards/query/CallQueryWizard.java
index 3b5a2a1c271e..6f92ea445e4d 100644
--- a/wizards/com/sun/star/wizards/query/CallQueryWizard.java
+++ b/wizards/com/sun/star/wizards/query/CallQueryWizard.java
@@ -113,7 +113,7 @@ public class CallQueryWizard
{
String[] stringSupportedServiceNames = new String[] { __serviceName };
- return (stringSupportedServiceNames);
+ return stringSupportedServiceNames;
}
/** This method returns true, if the given service will be
@@ -129,7 +129,7 @@ public class CallQueryWizard
{
booleanSupportsService = true;
}
- return (booleanSupportsService);
+ return booleanSupportsService;
}
@Override
@@ -143,7 +143,7 @@ public class CallQueryWizard
*/
public java.lang.String getImplementationName()
{
- return (QueryWizardImplementation.class.getName());
+ return QueryWizardImplementation.class.getName();
}
/** Provides a sequence of all types (usually interface types)
@@ -170,7 +170,7 @@ public class CallQueryWizard
System.err.println(exception);
}
- return (typeReturn);
+ return typeReturn;
}
}
}
diff --git a/wizards/com/sun/star/wizards/query/QuerySummary.java b/wizards/com/sun/star/wizards/query/QuerySummary.java
index 9e9e4c2f03bb..ea68195c6587 100644
--- a/wizards/com/sun/star/wizards/query/QuerySummary.java
+++ b/wizards/com/sun/star/wizards/query/QuerySummary.java
@@ -169,7 +169,7 @@ public class QuerySummary extends QueryMetaData
sReturn += sSeparator;
}
}
- return (sReturn);
+ return sReturn;
}
private String combinePartString(int _InitResID, String[][] _FieldNames, int _AlternativeResID, int _BaseStringID, String[] _ReplaceTags)
diff --git a/wizards/com/sun/star/wizards/report/CallReportWizard.java b/wizards/com/sun/star/wizards/report/CallReportWizard.java
index 8d86ad92e905..47e2a53b2938 100644
--- a/wizards/com/sun/star/wizards/report/CallReportWizard.java
+++ b/wizards/com/sun/star/wizards/report/CallReportWizard.java
@@ -139,7 +139,7 @@ public class CallReportWizard
{
String[] stringSupportedServiceNames = new String[] { __serviceName };
- return (stringSupportedServiceNames);
+ return stringSupportedServiceNames;
}
/** This method returns true, if the given service will be
@@ -155,7 +155,7 @@ public class CallReportWizard
{
booleanSupportsService = true;
}
- return (booleanSupportsService);
+ return booleanSupportsService;
}
public byte[] getImplementationId()
@@ -168,7 +168,7 @@ public class CallReportWizard
*/
public java.lang.String getImplementationName()
{
- return (ReportWizardImplementation.class.getName());
+ return ReportWizardImplementation.class.getName();
}
/** Provides a sequence of all types (usually interface types)
@@ -197,7 +197,7 @@ public class CallReportWizard
Logger.getLogger(CallReportWizard.class.getName()).log(Level.SEVERE, null, e);
}
- return (typeReturn);
+ return typeReturn;
}
}
}
diff --git a/wizards/com/sun/star/wizards/report/ReportFinalizer.java b/wizards/com/sun/star/wizards/report/ReportFinalizer.java
index 350ad9b29324..1c1b5ef06e7d 100644
--- a/wizards/com/sun/star/wizards/report/ReportFinalizer.java
+++ b/wizards/com/sun/star/wizards/report/ReportFinalizer.java
@@ -201,7 +201,7 @@ public class ReportFinalizer
StoreName = LocStoreName;
}
}
- return (StoreName);
+ return StoreName;
}
private void changeReportTitle()
diff --git a/wizards/com/sun/star/wizards/table/CallTableWizard.java b/wizards/com/sun/star/wizards/table/CallTableWizard.java
index 2d126a340adb..365f70e3eb44 100644
--- a/wizards/com/sun/star/wizards/table/CallTableWizard.java
+++ b/wizards/com/sun/star/wizards/table/CallTableWizard.java
@@ -112,7 +112,7 @@ public class CallTableWizard
{
String[] stringSupportedServiceNames = new String[] { __serviceName };
- return (stringSupportedServiceNames);
+ return stringSupportedServiceNames;
}
/** This method returns true, if the given service will be
@@ -128,7 +128,7 @@ public class CallTableWizard
{
booleanSupportsService = true;
}
- return (booleanSupportsService);
+ return booleanSupportsService;
}
public byte[] getImplementationId()
@@ -141,7 +141,7 @@ public class CallTableWizard
*/
public java.lang.String getImplementationName()
{
- return (TableWizardImplementation.class.getName());
+ return TableWizardImplementation.class.getName();
}
/** Provides a sequence of all types (usually interface types)
@@ -167,7 +167,7 @@ public class CallTableWizard
System.err.println(exception);
}
- return (typeReturn);
+ return typeReturn;
}
}
}