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

sunnianjun 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 5c34bfd04d8 Fix sonar issue of DatabaseProtocolServerInfo (#25562)
5c34bfd04d8 is described below

commit 5c34bfd04d86468624fd671e66e2cbeb0cef5b21
Author: Liang Zhang <[email protected]>
AuthorDate: Thu May 11 00:17:57 2023 +0800

    Fix sonar issue of DatabaseProtocolServerInfo (#25562)
---
 .../db/protocol/constant/DatabaseProtocolServerInfo.java               | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/db-protocol/core/src/main/java/org/apache/shardingsphere/db/protocol/constant/DatabaseProtocolServerInfo.java
 
b/db-protocol/core/src/main/java/org/apache/shardingsphere/db/protocol/constant/DatabaseProtocolServerInfo.java
index 123d0e161a6..fe1c7c2ea08 100644
--- 
a/db-protocol/core/src/main/java/org/apache/shardingsphere/db/protocol/constant/DatabaseProtocolServerInfo.java
+++ 
b/db-protocol/core/src/main/java/org/apache/shardingsphere/db/protocol/constant/DatabaseProtocolServerInfo.java
@@ -17,6 +17,8 @@
 
 package org.apache.shardingsphere.db.protocol.constant;
 
+import lombok.AccessLevel;
+import lombok.NoArgsConstructor;
 import org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPILoader;
 
 import java.util.Map;
@@ -25,6 +27,7 @@ import java.util.concurrent.ConcurrentHashMap;
 /**
  * Database protocol server info.
  */
+@NoArgsConstructor(access = AccessLevel.PRIVATE)
 public final class DatabaseProtocolServerInfo {
     
     private static final String SERVER_INFORMATION_PATTERN = 
"%s-ShardingSphere-Proxy %s";

Reply via email to