[tomcat] branch 9.0.x updated: Better Javadoc (prompted by reviewing a SpotBugs issue)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[tomcat] branch 9.0.x updated: Better Javadoc (prompted by reviewing a SpotBugs issue)

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

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


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

commit 52e5740850c0a53bf6e9edf69407c0aed4709932
Author: Mark Thomas <[hidden email]>
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: [hidden email]
For additional commands, e-mail: [hidden email]