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/06/28 12:35:51 UTC

[shardingsphere] branch master updated: Fix sonar issue on CDCDataNodeUtils (#26670)

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 ebf08f7f1d6 Fix sonar issue on CDCDataNodeUtils (#26670)
ebf08f7f1d6 is described below

commit ebf08f7f1d6f06f2c311dd7b617b8eab570b149a
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Jun 28 20:35:45 2023 +0800

    Fix sonar issue on CDCDataNodeUtils (#26670)
---
 .../apache/shardingsphere/data/pipeline/cdc/util/CDCDataNodeUtils.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel/data-pipeline/scenario/cdc/core/src/main/java/org/apache/shardingsphere/data/pipeline/cdc/util/CDCDataNodeUtils.java b/kernel/data-pipeline/scenario/cdc/core/src/main/java/org/apache/shardingsphere/data/pipeline/cdc/util/CDCDataNodeUtils.java
index adbdea6ad9a..ebd2fdcb73f 100644
--- a/kernel/data-pipeline/scenario/cdc/core/src/main/java/org/apache/shardingsphere/data/pipeline/cdc/util/CDCDataNodeUtils.java
+++ b/kernel/data-pipeline/scenario/cdc/core/src/main/java/org/apache/shardingsphere/data/pipeline/cdc/util/CDCDataNodeUtils.java
@@ -17,6 +17,8 @@
 
 package org.apache.shardingsphere.data.pipeline.cdc.util;
 
+import lombok.AccessLevel;
+import lombok.NoArgsConstructor;
 import org.apache.shardingsphere.data.pipeline.core.exception.param.PipelineInvalidParameterException;
 import org.apache.shardingsphere.infra.datanode.DataNode;
 import org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase;
@@ -34,6 +36,7 @@ import java.util.Optional;
 /**
  * CDC data node utils.
  */
+@NoArgsConstructor(access = AccessLevel.PRIVATE)
 public final class CDCDataNodeUtils {
     
     /**