This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new a03832d071 Fix comment
a03832d071 is described below
commit a03832d071d8dfd4e893836c4cce04c2351c9c54
Author: Mark Thomas <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]