You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2022/10/22 12:06:10 UTC

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

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

chenguangsheng 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 18f7352c Update EventMeshTcpConnectionHandler.java
     new 37ebbf80 Merge pull request #1752 from hanish-rishen/dev
18f7352c is described below

commit 18f7352c5a40cbf3e41b8238ccde8e7bea555100
Author: Hanish Rishen <11...@users.noreply.github.com>
AuthorDate: Sat Oct 22 15:48:21 2022 +0530

    Update EventMeshTcpConnectionHandler.java
---
 .../runtime/core/protocol/tcp/client/EventMeshTcpConnectionHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/EventMeshTcpConnectionHandler.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/EventMeshTcpConnectionHandler.java
index 685abc6a..4b3a1005 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/EventMeshTcpConnectionHandler.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/tcp/client/EventMeshTcpConnectionHandler.java
@@ -32,7 +32,7 @@ import io.netty.handler.timeout.IdleStateEvent;
 
 public class EventMeshTcpConnectionHandler extends ChannelDuplexHandler {
 
-    public static AtomicInteger connections = new AtomicInteger(0);
+    public static final AtomicInteger connections = new AtomicInteger(0);
     private final Logger logger = LoggerFactory.getLogger(this.getClass());
     private EventMeshTCPServer eventMeshTCPServer;
 


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