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/26 07:48:52 UTC

[incubator-eventmesh] branch master updated: Update AsyncSubscribe.java

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 b1a08f0b Update AsyncSubscribe.java
     new b2127001 Merge pull request #1877 from Monika-Sivakumar-3/patch-3
b1a08f0b is described below

commit b1a08f0b253998d0f0c527888f8d68ee7e3ee04c
Author: Monika-Sivakumar-3 <11...@users.noreply.github.com>
AuthorDate: Wed Oct 26 11:38:30 2022 +0530

    Update AsyncSubscribe.java
    
    Adding final modifier to "handler" field
---
 .../apache/eventmesh/tcp/demo/sub/eventmeshmessage/AsyncSubscribe.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eventmesh-examples/src/main/java/org/apache/eventmesh/tcp/demo/sub/eventmeshmessage/AsyncSubscribe.java b/eventmesh-examples/src/main/java/org/apache/eventmesh/tcp/demo/sub/eventmeshmessage/AsyncSubscribe.java
index 8a3c325d..61fd0385 100644
--- a/eventmesh-examples/src/main/java/org/apache/eventmesh/tcp/demo/sub/eventmeshmessage/AsyncSubscribe.java
+++ b/eventmesh-examples/src/main/java/org/apache/eventmesh/tcp/demo/sub/eventmeshmessage/AsyncSubscribe.java
@@ -37,7 +37,7 @@ import lombok.extern.slf4j.Slf4j;
 @Slf4j
 public class AsyncSubscribe implements ReceiveMsgHook<EventMeshMessage> {
 
-    public static AsyncSubscribe handler = new AsyncSubscribe();
+    public static final AsyncSubscribe handler = new AsyncSubscribe()
 
     private static EventMeshTCPClient<EventMeshMessage> client;
 


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