mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-152169 [follow-up]
This commit is contained in:
@@ -109,10 +109,12 @@ public class UIUtil {
|
||||
Properties properties = new Properties();
|
||||
for (String path : paths) {
|
||||
try {
|
||||
File propsFile = new File(path);
|
||||
FileInputStream in = new FileInputStream(propsFile);
|
||||
properties.load(in);
|
||||
in.close();
|
||||
FileInputStream in = new FileInputStream(new File(path));
|
||||
try {
|
||||
properties.load(in);
|
||||
} finally {
|
||||
if (in != null) in.close();
|
||||
}
|
||||
}
|
||||
catch (Exception ignore) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user