mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
fix potential java.lang.NullPointerException
This commit is contained in:
@@ -90,9 +90,12 @@ public class GZipResponseWrapper extends HttpServletResponseWrapper
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void flushBuffer() throws IOException
|
public void flushBuffer() throws IOException
|
||||||
|
{
|
||||||
|
if (stream != null)
|
||||||
{
|
{
|
||||||
stream.flush();
|
stream.flush();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//~--- get methods ----------------------------------------------------------
|
//~--- get methods ----------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user