You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2022/10/31 06:29:37 UTC
[incubator-eventmesh] branch master updated: 1、添加final修饰符。
This is an automated email from the ASF dual-hosted git repository.
mikexue 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 72ce8c6b 1、添加final修饰符。
new 8f9da3b6 Merge pull request #2037 from zhangype/master
72ce8c6b is described below
commit 72ce8c6b38660e7a71ede4f4ca32493f3a0786a9
Author: danielzhang <da...@webank.com>
AuthorDate: Mon Oct 31 09:44:48 2022 +0800
1、添加final修饰符。
---
.../java/org/apache/eventmesh/grpc/sub/CloudEventsAsyncSubscribe.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eventmesh-examples/src/main/java/org/apache/eventmesh/grpc/sub/CloudEventsAsyncSubscribe.java b/eventmesh-examples/src/main/java/org/apache/eventmesh/grpc/sub/CloudEventsAsyncSubscribe.java
index a409389c..fb7962a0 100644
--- a/eventmesh-examples/src/main/java/org/apache/eventmesh/grpc/sub/CloudEventsAsyncSubscribe.java
+++ b/eventmesh-examples/src/main/java/org/apache/eventmesh/grpc/sub/CloudEventsAsyncSubscribe.java
@@ -38,7 +38,7 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
public class CloudEventsAsyncSubscribe implements ReceiveMsgHook<CloudEvent> {
- public static CloudEventsAsyncSubscribe handler = new CloudEventsAsyncSubscribe();
+ public static final CloudEventsAsyncSubscribe handler = new CloudEventsAsyncSubscribe();
public static void main(String[] args) throws InterruptedException {
Properties properties = Utils.readPropertiesFile(ExampleConstants.CONFIG_FILE_NAME);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org