You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2024/10/22 12:17:02 UTC
(tomcat) 10/19: Add missing @Override
This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 07a9eeb98e68ff8e54aa391b3b892c293fd52db0
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