This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new be191d8 Better Javadoc (prompted by reviewing a SpotBugs issue)
be191d8 is described below
commit be191d8ad87c8075352566f190108bbb5c83a6f2
Author: Mark Thomas <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]