You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by jo...@apache.org on 2023/02/24 06:14:49 UTC

[incubator-eventmesh] branch master updated: [ISSUE #3249]Fix lombok compilation warnings (#3250)

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

jonyang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new c97889187 [ISSUE #3249]Fix lombok compilation warnings (#3250)
c97889187 is described below

commit c978891871ad3f5500621e432d47068e205c5810
Author: mxsm <lj...@gmail.com>
AuthorDate: Fri Feb 24 14:14:43 2023 +0800

    [ISSUE #3249]Fix lombok compilation warnings (#3250)
---
 .../eventmesh/runtime/configuration/EventMeshGrpcConfiguration.java   | 2 ++
 .../eventmesh/runtime/configuration/EventMeshHTTPConfiguration.java   | 4 +++-
 .../eventmesh/runtime/configuration/EventMeshTCPConfiguration.java    | 2 ++
 .../eventmesh/client/grpc/config/EventMeshGrpcClientConfig.java       | 2 +-
 4 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshGrpcConfiguration.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshGrpcConfiguration.java
index 20916e41e..6dc688479 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshGrpcConfiguration.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshGrpcConfiguration.java
@@ -23,10 +23,12 @@ import org.apache.eventmesh.common.config.ConfigFiled;
 import org.apache.eventmesh.common.utils.IPUtils;
 
 import lombok.Data;
+import lombok.EqualsAndHashCode;
 import lombok.NoArgsConstructor;
 
 @Data
 @NoArgsConstructor
+@EqualsAndHashCode(callSuper = true)
 @Config(prefix = "eventMesh.server")
 public class EventMeshGrpcConfiguration extends CommonConfiguration {
 
diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshHTTPConfiguration.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshHTTPConfiguration.java
index 226827e9b..a36df0d8e 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshHTTPConfiguration.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshHTTPConfiguration.java
@@ -25,11 +25,13 @@ import java.util.Collections;
 import java.util.List;
 
 import lombok.Data;
+import lombok.EqualsAndHashCode;
 import lombok.NoArgsConstructor;
 
 import inet.ipaddr.IPAddress;
 
 @Data
+@EqualsAndHashCode(callSuper = true)
 @NoArgsConstructor
 @Config(prefix = "eventMesh.server")
 public class EventMeshHTTPConfiguration extends CommonConfiguration {
@@ -129,4 +131,4 @@ public class EventMeshHTTPConfiguration extends CommonConfiguration {
 
     @ConfigFiled(field = "blacklist.ipv6")
     private List<IPAddress> eventMeshIpv6BlackList = Collections.emptyList();
-}
\ No newline at end of file
+}
diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshTCPConfiguration.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshTCPConfiguration.java
index 1f5a967eb..113344540 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshTCPConfiguration.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/configuration/EventMeshTCPConfiguration.java
@@ -23,9 +23,11 @@ import org.apache.eventmesh.common.config.ConfigFiled;
 
 import lombok.AllArgsConstructor;
 import lombok.Data;
+import lombok.EqualsAndHashCode;
 import lombok.NoArgsConstructor;
 
 @Data
+@EqualsAndHashCode(callSuper = true)
 @NoArgsConstructor
 @Config(prefix = "eventMesh.server")
 public class EventMeshTCPConfiguration extends CommonConfiguration {
diff --git a/eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/config/EventMeshGrpcClientConfig.java b/eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/config/EventMeshGrpcClientConfig.java
index 4aacbe438..461a6198b 100644
--- a/eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/config/EventMeshGrpcClientConfig.java
+++ b/eventmesh-sdk-java/src/main/java/org/apache/eventmesh/client/grpc/config/EventMeshGrpcClientConfig.java
@@ -55,7 +55,7 @@ public class EventMeshGrpcClientConfig {
     private String language = "JAVA";
 
     @Builder.Default
-    private boolean useTls;
+    private boolean useTls = false;
 
     @Override
     public String toString() {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org