|
@@ -1303,6 +1303,9 @@ public class FileUtils { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void closeQuietly(Object o) { |
|
|
private static void closeQuietly(Object o) { |
|
|
|
|
|
if (null == o) { |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
try { |
|
|
try { |
|
|
if(ReflectUtil.respondsTo(o, "close")) { |
|
|
if(ReflectUtil.respondsTo(o, "close")) { |
|
|
ReflectUtil.invoke(o, "close"); |
|
|
ReflectUtil.invoke(o, "close"); |
|
|