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 ea3c2b5  Fix Javadoc errors
ea3c2b5 is described below

commit ea3c2b57e6c8ae5bbdaee2ea0f77d965653e654f
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Mar 15 19:46:10 2021 +0000

    Fix Javadoc errors
---
 java/org/apache/coyote/http2/Http2Parser.java | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/java/org/apache/coyote/http2/Http2Parser.java 
b/java/org/apache/coyote/http2/Http2Parser.java
index 0895668..bf0565d 100644
--- a/java/org/apache/coyote/http2/Http2Parser.java
+++ b/java/org/apache/coyote/http2/Http2Parser.java
@@ -759,8 +759,9 @@ class Http2Parser {
          * @param swallowedDataBytesCount   The number of bytes that the parser
          *                                  swallowed.
          *
-         * @throws ConnectionException
-         * @throws IOException
+         * @throws ConnectionException If an error fatal to the HTTP/2
+ *                 connection occurs while swallowing the payload
+         * @throws IOException If an I/O occurred while swallowing the payload
          */
         void onSwallowedDataFramePayload(int streamId, int 
swallowedDataBytesCount) throws ConnectionException, IOException;
 
@@ -801,7 +802,8 @@ class Http2Parser {
          *                      frame
          * @param size          The payload size of the swallowed frame
          *
-         * @throws IOException
+         * @throws IOException If an I/O occurred while swallowing the unknown
+         *         frame
          */
         void onSwallowedUnknownFrame(int streamId, int frameTypeId, int flags, 
int size) throws IOException;
     }


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

Reply via email to