From eac2b94c9f1a4daff509056a558af7a06981caf1 Mon Sep 17 00:00:00 2001 From: zhangliang Date: Tue, 24 Dec 2024 22:20:42 +0800 Subject: [PATCH] Fix sonar issue on PipelineDDLGenerator --- .../core/metadata/generator/PipelineDDLGenerator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/metadata/generator/PipelineDDLGenerator.java b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/metadata/generator/PipelineDDLGenerator.java index 37d281e4da6a7..dbdb67da6bd2d 100644 --- a/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/metadata/generator/PipelineDDLGenerator.java +++ b/kernel/data-pipeline/core/src/main/java/org/apache/shardingsphere/data/pipeline/core/metadata/generator/PipelineDDLGenerator.java @@ -17,7 +17,8 @@ package org.apache.shardingsphere.data.pipeline.core.metadata.generator; -import lombok.RequiredArgsConstructor; +import lombok.AccessLevel; +import lombok.NoArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.shardingsphere.data.pipeline.core.sqlbuilder.dialect.DialectPipelineSQLBuilder; import org.apache.shardingsphere.infra.database.core.spi.DatabaseTypedSPILoader; @@ -31,7 +32,7 @@ /** * Pipeline DDL generator. */ -@RequiredArgsConstructor +@NoArgsConstructor(access = AccessLevel.PRIVATE) @Slf4j public final class PipelineDDLGenerator {