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

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 861e418  Better Javadoc (prompted by reviewing a SpotBugs issue)
861e418 is described below

commit 861e41866ddfe376134b58a7753c8465eb4a6785
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Oct 16 11:46:52 2020 +0100

    Better Javadoc (prompted by reviewing a SpotBugs issue)
---
 java/org/apache/tomcat/util/http/parser/EntityTag.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/http/parser/EntityTag.java 
b/java/org/apache/tomcat/util/http/parser/EntityTag.java
index b2cfaba..f863ccc 100644
--- a/java/org/apache/tomcat/util/http/parser/EntityTag.java
+++ b/java/org/apache/tomcat/util/http/parser/EntityTag.java
@@ -30,7 +30,8 @@ public class EntityTag {
      * @param compareWeak  Use weak comparison e.g. match "etag" with W/"etag"
      * @param resourceETag Resource's ETag
      *
-     * @return true if ETag matched or {@code null} if the header is invalid
+     * @return {@code true} if ETag matches, {@code false} if ETag doesn't 
match
+     *         or {@code null} if the input is invalid
      *
      * @throws IOException If an I/O occurs during the parsing
      */


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to