Revert "Issue #759"

This reverts commit 7b6bf03133.
This commit is contained in:
Jan Bartel 2016-07-22 16:10:37 +10:00
parent 7b6bf03133
commit 92e91e8695
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ public class Dispatcher implements RequestDispatcher
private void commitResponse(ServletResponse response, Request baseRequest) throws IOException
{
if (!(response instanceof Response) || baseRequest.getResponse().isWriting())
if (baseRequest.getResponse().isWriting())
{
try
{