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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 37cb51c613 Prepare for automated formatting
37cb51c613 is described below

commit 37cb51c6134be0610f0139f2ff3d2daf3edf3fdc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Aug 29 11:57:07 2025 +0100

    Prepare for automated formatting
---
 java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java 
b/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
index 3223a6a315..a3d444a6a2 100644
--- a/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
+++ b/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
@@ -105,7 +105,9 @@ public class WsRemoteEndpointImplServer extends 
WsRemoteEndpointImplBase {
 
         /*
          * Special handling is required only when all of the following are 
true:
+         *
          * - A close message is being sent
+         *
          * - This thread currently holds the socketWrapper lock (i.e. the 
thread is current processing a socket event)
          */
         if (!(opCode == Constants.OPCODE_CLOSE && 
socketWrapper.getLock().isHeldByCurrentThread())) {


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to