[tomcat] branch 8.5.x updated: Add missing Javadoc

2020-08-11 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/8.5.x by this push:
 new b50d633  Add missing Javadoc
b50d633 is described below

commit b50d633cb7f7ff57a2b6e4adbb21a96c0a058ee5
Author: Mark Thomas 
AuthorDate: Tue Aug 11 17:02:26 2020 +0100

Add missing Javadoc
---
 java/org/apache/tomcat/util/http/parser/EntityTag.java | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/tomcat/util/http/parser/EntityTag.java 
b/java/org/apache/tomcat/util/http/parser/EntityTag.java
index abab6b7..9384b8d 100644
--- a/java/org/apache/tomcat/util/http/parser/EntityTag.java
+++ b/java/org/apache/tomcat/util/http/parser/EntityTag.java
@@ -24,14 +24,16 @@ import java.util.Set;
 public class EntityTag {
 
 /**
+ * Parse the given input as (per RFC 7232) 1#entity-tag.
  *
- * @param input
- * @param includeWeak
+ * @param input The input to parse
+ * @param includeWeak   Should weak tags be included in the set of returned
+ *  values?
  *
  * @return The set of parsed entity tags or {@code null} if the header is
  * invalid
  *
- * @throws IOException
+ * @throws IOException If an I/O occurs during the parsing
  */
 public static Set parseEntityTag(StringReader input, boolean 
includeWeak) throws IOException {
 


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



[tomcat] branch 8.5.x updated: Add missing Javadoc

2019-09-11 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/8.5.x by this push:
 new d379740  Add missing Javadoc
d379740 is described below

commit d37974014ae9b251d76cda7042da3caf5c8cba72
Author: Mark Thomas 
AuthorDate: Wed Sep 11 15:19:50 2019 +0100

Add missing Javadoc
---
 java/org/apache/catalina/security/SecurityUtil.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/org/apache/catalina/security/SecurityUtil.java 
b/java/org/apache/catalina/security/SecurityUtil.java
index 5736ca5..4a550ea 100644
--- a/java/org/apache/catalina/security/SecurityUtil.java
+++ b/java/org/apache/catalina/security/SecurityUtil.java
@@ -93,6 +93,7 @@ public final class SecurityUtil{
  * @param methodName the method to apply the security restriction
  * @param targetObject the Servlet on which the method will
  * be called.
+ * @throws Exception an execution error occurred
  */
 public static void doAsPrivilege(final String methodName,
  final Servlet targetObject) throws 
Exception {


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