diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-11 13:20:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-02-23 09:26:58 +0200 |
commit | ba233e87efddf0a6751b35784dca1c805364ff3b (patch) | |
tree | 9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /wizards/com/sun/star/wizards/query | |
parent | a2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (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/com/sun/star/wizards/query')
-rw-r--r-- | wizards/com/sun/star/wizards/query/CallQueryWizard.java | 8 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/query/QuerySummary.java | 2 |
2 files changed, 5 insertions, 5 deletions
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) |