This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 7267bbb Delete extra spaces after @return (#11855)
7267bbb is described below
commit 7267bbb5d7c1495c31c6e48129b1ce0fa223ff66
Author: yx9o <[email protected]>
AuthorDate: Wed Aug 18 09:29:14 2021 +0800
Delete extra spaces after @return (#11855)
* Delete extra spaces after @return
* lower-case
---
.../java/org/apache/shardingsphere/infra/hint/HintManager.java | 2 +-
.../shardingsphere/infra/route/context/RouteContext.java | 2 +-
.../apache/shardingsphere/infra/route/context/RouteUnit.java | 2 +-
.../parser/parameterized/jaxb/sql/loader/SQLCasesLoader.java | 10 +++++-----
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git
a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/hint/HintManager.java
b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/hint/HintManager.java
index fb9f7f6..d354396 100644
---
a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/hint/HintManager.java
+++
b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/hint/HintManager.java
@@ -45,7 +45,7 @@ public final class HintManager implements AutoCloseable {
/**
* Get a new instance for {@code HintManager}.
*
- * @return {@code HintManager} instance
+ * @return {@code HintManager} instance
*/
public static HintManager getInstance() {
Preconditions.checkState(null == HINT_MANAGER_HOLDER.get(), "Hint has
previous value, please clear first.");
diff --git
a/shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteContext.java
b/shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteContext.java
index 66e55b7..0638473 100644
---
a/shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteContext.java
+++
b/shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteContext.java
@@ -96,7 +96,7 @@ public final class RouteContext {
* Get map relationship between actual data source and logic tables.
*
* @param actualDataSourceNames actual data source names
- * @return map relationship between data source and logic tables
+ * @return map relationship between data source and logic tables
*/
public Map<String, Set<String>> getDataSourceLogicTablesMap(final
Collection<String> actualDataSourceNames) {
Map<String, Set<String>> result = new
HashMap<>(actualDataSourceNames.size(), 1);
diff --git
a/shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteUnit.java
b/shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteUnit.java
index 527c7e1..984c8d9 100644
---
a/shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteUnit.java
+++
b/shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteUnit.java
@@ -44,7 +44,7 @@ public final class RouteUnit {
/**
* Get logic table names.
*
- * @return logic table names
+ * @return logic table names
*/
public Set<String> getLogicTableNames() {
return
tableMappers.stream().map(RouteMapper::getLogicName).collect(Collectors.toCollection(()
-> new HashSet<>(tableMappers.size(), 1)));
diff --git
a/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/sql/loader/SQLCasesLoader.java
b/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/sql/loader/SQLCasesLoader.java
index d09cf8c..bfa679c 100644
---
a/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/sql/loader/SQLCasesLoader.java
+++
b/shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/sql/loader/SQLCasesLoader.java
@@ -144,11 +144,11 @@ public final class SQLCasesLoader extends CasesLoader {
* Replaces each substring of this string that matches the literal target
sequence with
* literal replacements one by one.
*
- * @param source The source string need to be replaced
- * @param target The sequence of char values to be replaced
- * @param replacements Array of replacement
- * @return The resulting string
- * @throws IllegalArgumentException When replacements is not enough to
replace found target.
+ * @param source the source string need to be replaced
+ * @param target the sequence of char values to be replaced
+ * @param replacements array of replacement
+ * @return the resulting string
+ * @throws IllegalArgumentException when replacements is not enough to
replace found target.
*/
private static String replace(final String source, final CharSequence
target, final Object... replacements) {
if (null == source || null == replacements) {