This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 3d79a95aae Update comment to align with code
3d79a95aae is described below
commit 3d79a95aae3d9fb5606a6c8b0a0faab287cf3a42
Author: Mark Thomas <[email protected]>
AuthorDate: Thu May 28 09:23:01 2026 +0100
Update comment to align with code
---
java/org/apache/catalina/servlets/WebdavServlet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java
b/java/org/apache/catalina/servlets/WebdavServlet.java
index 501f351d28..fba2580161 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -2759,7 +2759,7 @@ public class WebdavServlet extends DefaultServlet
implements PeriodicEventListen
if (parentLock.hasExpired()) {
resourceLocks.remove(parentPath);
} else {
- // parentPath == currentPath is a check for the first loop
+ // parentPath == path is a check for the first loop
if (parentPath == path || parentLock.depth > 0) {
if (parentLock.isExclusive()) {
parentLock.toXML(generatedXML);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]