1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-06-23 20:14:51 +02:00

Decrease logging verbosity in FileUtils.readFile(File)

This commit is contained in:
Florian Schmaus 2015-01-06 16:11:57 +01:00
parent 525fece291
commit b23df7d2b8

View file

@ -124,7 +124,9 @@ public final class FileUtils {
public static String readFile(File file) {
try {
return readFileOrThrow(file);
} catch (Exception e) {
} catch (FileNotFoundException e) {
LOGGER.log(Level.FINE, "readFile", e);
} catch (IOException e) {
LOGGER.log(Level.WARNING, "readFile", e);
}
return null;