You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2018/02/20 16:07:46 UTC
svn commit: r1824891 -
/tomcat/trunk/java/org/apache/coyote/http2/Http2AsyncParser.java
Author: remm
Date: Tue Feb 20 16:07:46 2018
New Revision: 1824891
URL: http://svn.apache.org/viewvc?rev=1824891&view=rev
Log:
Remove now useless null check.
Modified:
tomcat/trunk/java/org/apache/coyote/http2/Http2AsyncParser.java
Modified: tomcat/trunk/java/org/apache/coyote/http2/Http2AsyncParser.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http2/Http2AsyncParser.java?rev=1824891&r1=1824890&r2=1824891&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http2/Http2AsyncParser.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http2/Http2AsyncParser.java Tue Feb 20 16:07:46 2018
@@ -84,7 +84,7 @@ class Http2AsyncParser extends Http2Pars
}
private void unRead(ByteBuffer buffer) {
- if (buffer != null && buffer.hasRemaining()) {
+ if (buffer.hasRemaining()) {
socketWrapper.unRead(buffer);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org