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 2023/05/18 14:25:46 UTC

[shardingsphere] branch master updated: Fix sonar issue of AbstractLifecycleExecutor (#25767)

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 da0c200e0dc Fix sonar issue of AbstractLifecycleExecutor (#25767)
da0c200e0dc is described below

commit da0c200e0dc5888791b738f2589d39966e6e7caf
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Thu May 18 22:25:37 2023 +0800

    Fix sonar issue of AbstractLifecycleExecutor (#25767)
---
 .../data/pipeline/api/executor/AbstractLifecycleExecutor.java           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/data-pipeline/api/src/main/java/org/apache/shardingsphere/data/pipeline/api/executor/AbstractLifecycleExecutor.java b/kernel/data-pipeline/api/src/main/java/org/apache/shardingsphere/data/pipeline/api/executor/AbstractLifecycleExecutor.java
index 461034577f3..bc41718d278 100644
--- a/kernel/data-pipeline/api/src/main/java/org/apache/shardingsphere/data/pipeline/api/executor/AbstractLifecycleExecutor.java
+++ b/kernel/data-pipeline/api/src/main/java/org/apache/shardingsphere/data/pipeline/api/executor/AbstractLifecycleExecutor.java
@@ -76,7 +76,7 @@ public abstract class AbstractLifecycleExecutor implements LifecycleExecutor {
         stopped = true;
     }
     
-    protected abstract void doStop() throws Exception;
+    protected abstract void doStop() throws SQLException;
     
     protected final void cancelStatement(final Statement statement) throws SQLException {
         if (null == statement || statement.isClosed()) {