fix potential java.lang.NullPointerException

This commit is contained in:
Sebastian Sdorra
2011-01-30 12:30:14 +01:00
parent 43b5b7ec15
commit 03183cd86e

View File

@@ -90,9 +90,12 @@ public class GZipResponseWrapper extends HttpServletResponseWrapper
*/
@Override
public void flushBuffer() throws IOException
{
if (stream != null)
{
stream.flush();
}
}
//~--- get methods ----------------------------------------------------------