mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
restore some plugins compatibility (sanselan -> commons-imaging) (2)
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user