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

markt-asf 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 687fd5b296 Fix comment
687fd5b296 is described below

commit 687fd5b296e7f47cadc96209ee5b4f1ce264eae7
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Jun 15 10:14:20 2026 +0100

    Fix comment
---
 java/org/apache/catalina/servlets/WebdavServlet.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java 
b/java/org/apache/catalina/servlets/WebdavServlet.java
index c467d9820a..ce6a43568e 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -2990,9 +2990,9 @@ public class WebdavServlet extends DefaultServlet 
implements PeriodicEventListen
                     deadProperties.put(destination, propertiesDest);
                 }
                 /*
-                 * The following ensures that locks for any two paths are 
always obtained in the same other order
-                 * regardless of which is the source and which is the 
destination. This is to avoid deadlocks for
-                 * concurrent calls where source and destination are reversed.
+                 * The following ensures that locks for any two paths are 
always obtained in the same order regardless
+                 * of which is the source and which is the destination. This 
is to avoid deadlocks for concurrent calls
+                 * where source and destination are reversed.
                  */
                 Object lockFirst;
                 Object lockSecond;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to