remove unnecessary transition to READY in ContentProducer.isReady

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2020-11-23 15:51:43 +01:00
parent b4f50d6e90
commit 2d46951bcb
2 changed files with 0 additions and 2 deletions

View File

@ -223,7 +223,6 @@ class AsyncContentProducer implements ContentProducer
{
if (LOG.isDebugEnabled())
LOG.debug("isReady(), got transformed content {} {}", content, this);
_httpChannel.getState().onContentAdded();
return true;
}

View File

@ -114,7 +114,6 @@ public interface ContentProducer
* If there isn't any and the implementation does not block, this method will trigger a
* {@link javax.servlet.ReadListener} callback once some content is available.
* This call is always non-blocking.
* After this call, state can be either of UNREADY or READY.
* @return true if some content is immediately available, false otherwise.
*/
boolean isReady();