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 0eb4b7344f Fix comment
0eb4b7344f is described below

commit 0eb4b7344fe1bc91910b740139f553490a85f60d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Apr 5 16:09:03 2023 +0100

    Fix comment
---
 java/org/apache/tomcat/util/net/SocketProcessorBase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/SocketProcessorBase.java 
b/java/org/apache/tomcat/util/net/SocketProcessorBase.java
index 138da2e7b1..ab11ce9977 100644
--- a/java/org/apache/tomcat/util/net/SocketProcessorBase.java
+++ b/java/org/apache/tomcat/util/net/SocketProcessorBase.java
@@ -42,7 +42,7 @@ public abstract class SocketProcessorBase<S> implements 
Runnable {
         lock.lock();
         try {
             // It is possible that processing may be triggered for read and
-            // write at the same time. The sync above makes sure that 
processing
+            // write at the same time. The lock above makes sure that 
processing
             // does not occur in parallel. The test below ensures that if the
             // first event to be processed results in the socket being closed,
             // the subsequent events are not processed.


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

Reply via email to