tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1683573 - /tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java
Date Thu, 04 Jun 2015 15:12:07 GMT
Author: markt
Date: Thu Jun  4 15:12:07 2015
New Revision: 1683573

URL: http://svn.apache.org/r1683573
Log:
Fix bugs spotted by IDE

Modified:
    tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java

Modified: tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java?rev=1683573&r1=1683572&r2=1683573&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http2/Http2Parser.java Thu Jun  4 15:12:07 2015
@@ -130,6 +130,7 @@ class Http2Parser {
             break;
         case FRAME_TYPE_PUSH_PROMISE:
             readPushPromiseFrame(streamId, flags, payloadSize);
+            break;
         case FRAME_TYPE_PING:
             readPingFrame(streamId, flags, payloadSize);
             break;
@@ -325,7 +326,7 @@ class Http2Parser {
     }
 
 
-    private void readPushPromiseFrame(int streamId, int flags, int payloadSize) throws IOException
{
+    private void readPushPromiseFrame(int streamId, int flags, int payloadSize) {
         if (log.isDebugEnabled()) {
             log.debug(sm.getString("http2Parser.processFrame", connectionId,
                     Integer.toString(streamId), Integer.toString(flags),



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


Mime
View raw message