remove unnecessary transition to READY in ContentProducer.isReady
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
b4f50d6e90
commit
2d46951bcb
|
@ -223,7 +223,6 @@ class AsyncContentProducer implements ContentProducer
|
|||
{
|
||||
if (LOG.isDebugEnabled())
|
||||
LOG.debug("isReady(), got transformed content {} {}", content, this);
|
||||
_httpChannel.getState().onContentAdded();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue