|
@@ -293,7 +293,9 @@ public class IOUtils {
|
|
* @param stream the Stream to close
|
|
* @param stream the Stream to close
|
|
*/
|
|
*/
|
|
public static void closeStream(java.io.Closeable stream) {
|
|
public static void closeStream(java.io.Closeable stream) {
|
|
- cleanup(null, stream);
|
|
|
|
|
|
+ if (stream != null) {
|
|
|
|
+ cleanupWithLogger(null, stream);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|