Skip to content

Commit

Permalink
Minor optimisation - remove unnecessary call.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1652124 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
markt-asf committed Jan 15, 2015
1 parent 0ae2463 commit 27cae09
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion java/org/apache/tomcat/util/net/Nio2Endpoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,6 @@ public boolean isReadyForRead() throws IOException {
return false;
}

socketBufferHandler.configureReadBufferForRead();
if (!socketBufferHandler.isReadBufferEmpty()) {
readPending.release();
return true;
Expand Down

0 comments on commit 27cae09

Please sign in to comment.