restore some plugins compatibility (sanselan -> commons-imaging) (2)

This commit is contained in:
Gregory.Shrago
2017-09-18 10:38:33 +03:00
parent 88542e3e86
commit 179016ef94
@@ -22,7 +22,7 @@ import java.io.*;
/**
* For plugin compatibility only, DO NOT USE.
* todo check external usages & DELETE ASAP.
*
* <p>
* Required due to sanselan-0.98 -> commons-imaging migration.
* e791557ca1489b02d178aa68960d645ab501e674
*/
@@ -57,14 +57,16 @@ public class IOUtils {
finally {
if (close_streams) {
try {
dst.close();
src.close();
}
catch (IOException ignore) {
}
try {
dst.close();
}
catch (IOException ignore) {
finally {
try {
dst.close();
}
catch (IOException ignore) {
}
}
}
}