Skip to content

Commit

Permalink
Fix apparent issue with a non final field.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1637949 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
rmaucher committed Nov 10, 2014
1 parent 6b2e219 commit 98a16e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/org/apache/tomcat/util/net/Nio2Endpoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ public void completed(Integer nBytes, ByteBuffer attachment) {
if (nBytes.intValue() < 0) {
failed(new EOFException(), attachment);
} else if (attachment.hasRemaining()) {
channel.write(attachment, getTimeout(),
getSocket().write(attachment, getTimeout(),
TimeUnit.MILLISECONDS, attachment, completionHandlerWrite);
} else {
writePending.release();
Expand Down

0 comments on commit 98a16e7

Please sign in to comment.