You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2024/10/22 07:32:57 UTC
(tomcat) branch main updated: Add missing @Override
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 01bb7c3ce9 Add missing @Override
01bb7c3ce9 is described below
commit 01bb7c3ce934dfc8d32e52252b86e91cea499536
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Oct 22 08:32:51 2024 +0100
Add missing @Override
---
java/org/apache/tomcat/util/http/WebdavIfHeader.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/java/org/apache/tomcat/util/http/WebdavIfHeader.java b/java/org/apache/tomcat/util/http/WebdavIfHeader.java
index 2e0dd06ffc..c66bce3d0d 100644
--- a/java/org/apache/tomcat/util/http/WebdavIfHeader.java
+++ b/java/org/apache/tomcat/util/http/WebdavIfHeader.java
@@ -869,6 +869,7 @@ public class WebdavIfHeader {
* @return <code>True</code> if any of the {@link IfList}s matches the token
* and etag, else <code>false</code> is returned.
*/
+ @Override
public boolean matches(String resource, List<String> tokens, String etag) {
if (log.isTraceEnabled()) {
log.trace("matches: Trying to match token=" + tokens + ", etag=" + etag);
@@ -913,6 +914,7 @@ public class WebdavIfHeader {
* @return <code>true</code> if either no entry exists for the resource
* or if the entry for the resource matches the token and etag.
*/
+ @Override
public boolean matches(String resource, List<String> tokens, String etag) {
if (log.isTraceEnabled()) {
log.trace("matches: Trying to match resource=" + resource + ", token=" + tokens + "," + etag);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org