update from the feedback on the feedback of the feedback from the review.
fix javadoc
This commit is contained in:
parent
9f2a4f5ad5
commit
769687f773
|
@ -70,7 +70,7 @@ public class HttpOutput extends ServletOutputStream implements Runnable
|
||||||
enum State
|
enum State
|
||||||
{
|
{
|
||||||
OPEN, // Open
|
OPEN, // Open
|
||||||
CLOSE, // Close needed from onWriteCompletion
|
CLOSE, // Close needed from onWriteComplete
|
||||||
CLOSING, // Close in progress after close API called
|
CLOSING, // Close in progress after close API called
|
||||||
CLOSED // Closed
|
CLOSED // Closed
|
||||||
}
|
}
|
||||||
|
@ -309,7 +309,7 @@ public class HttpOutput extends ServletOutputStream implements Runnable
|
||||||
{
|
{
|
||||||
// Somebody called close or complete while we were writing.
|
// Somebody called close or complete while we were writing.
|
||||||
// We can now send a (probably empty) last buffer and then when it completes
|
// We can now send a (probably empty) last buffer and then when it completes
|
||||||
// onWriteCompletion will be called again to actually execute the _completeCallback
|
// onWriteComplete will be called again to actually execute the _completeCallback
|
||||||
_state = State.CLOSING;
|
_state = State.CLOSING;
|
||||||
closeContent = BufferUtil.hasContent(_aggregate) ? _aggregate : BufferUtil.EMPTY_BUFFER;
|
closeContent = BufferUtil.hasContent(_aggregate) ? _aggregate : BufferUtil.EMPTY_BUFFER;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue