You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2021/02/08 04:17:05 UTC

[shardingsphere] branch master updated: For code format (#9383)

This is an automated email from the ASF dual-hosted git repository.

panjuan 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 99f72a6  For code format (#9383)
99f72a6 is described below

commit 99f72a652f1c42bc2f4c43ed90212acc4e0e11ef
Author: Liang Zhang <te...@163.com>
AuthorDate: Mon Feb 8 12:16:47 2021 +0800

    For code format (#9383)
---
 .../shardingsphere/infra/metadata/engine/MetadataRefreshEngine.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/engine/MetadataRefreshEngine.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/engine/MetadataRefreshEngine.java
index fcce155..f740f5c 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/engine/MetadataRefreshEngine.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/engine/MetadataRefreshEngine.java
@@ -53,11 +53,10 @@ public final class MetadataRefreshEngine {
     /**
      * Refresh.
      *
-     * @param sqlStatement sql statement
+     * @param sqlStatement SQL statement
      * @param routeDataSourceNames route data source names
-     * @throws SQLException sql exception
+     * @throws SQLException SQL exception
      */
-    @SuppressWarnings("rawtypes")
     public void refresh(final SQLStatement sqlStatement, final Collection<String> routeDataSourceNames) throws SQLException {
         Optional<MetadataRefresher> metadataRefresher = MetadataRefresherFactory.newInstance(sqlStatement);
         if (metadataRefresher.isPresent()) {