Commits

Sebastian Sdorra committed 5dd79f6

fix possible npe

  • Participants
  • Parent commits 8aedc42

Comments (0)

Files changed (1)

File scm-core/src/main/java/sonia/scm/web/filter/LoggingFilter.java

 
 //~--- non-JDK imports --------------------------------------------------------
 
+import com.google.common.io.Closeables;
 import com.google.inject.Singleton;
 
 import org.slf4j.Logger;
       }
       finally
       {
-        out.close();
+        Closeables.closeQuietly(out);
       }
 
       logger.trace("Content: ".concat(new String(content)));