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
|
||||
public void flushBuffer() throws IOException
|
||||
{
|
||||
if (stream != null)
|
||||
{
|
||||
stream.flush();
|
||||
}
|
||||
}
|
||||
|
||||
//~--- get methods ----------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user