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/11/02 02:05:17 UTC

[incubator-eventmesh] branch master updated: add final modifier

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 6ce8fc5d add final modifier
     new 7d6b4281 Merge pull request #2068 from wuqi13726781190/master
6ce8fc5d is described below

commit 6ce8fc5df180434a4cd6892975cd8b6560825dc6
Author: 吴琦 <41...@qq.com>
AuthorDate: Tue Nov 1 23:32:01 2022 +0800

    add final modifier
---
 .../java/org/apache/eventmesh/grpc/sub/EventmeshAsyncSubscribe.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eventmesh-examples/src/main/java/org/apache/eventmesh/grpc/sub/EventmeshAsyncSubscribe.java b/eventmesh-examples/src/main/java/org/apache/eventmesh/grpc/sub/EventmeshAsyncSubscribe.java
index b372e079..f3cb0f9a 100644
--- a/eventmesh-examples/src/main/java/org/apache/eventmesh/grpc/sub/EventmeshAsyncSubscribe.java
+++ b/eventmesh-examples/src/main/java/org/apache/eventmesh/grpc/sub/EventmeshAsyncSubscribe.java
@@ -37,7 +37,7 @@ import lombok.extern.slf4j.Slf4j;
 @Slf4j
 public class EventmeshAsyncSubscribe implements ReceiveMsgHook<EventMeshMessage> {
 
-    public static EventmeshAsyncSubscribe handler = new EventmeshAsyncSubscribe();
+    public static final EventmeshAsyncSubscribe handler = new EventmeshAsyncSubscribe();
 
     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