IDEA-152169 [follow-up]

This commit is contained in:
Anton Tarasov
2016-03-30 12:51:34 +03:00
parent 5210f8dbe5
commit 4bd022c0af
@@ -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;