mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-04 19:34:48 -04:00
Various code clean-up. No functional changes.
This commit is contained in:
@@ -568,6 +568,7 @@ public final class FileUtil {
|
||||
if (!pFile.exists()) {
|
||||
throw new FileNotFoundException(pFile.toString());
|
||||
}
|
||||
|
||||
byte[] bytes = new byte[(int) pFile.length()];
|
||||
InputStream in = null;
|
||||
|
||||
@@ -586,6 +587,7 @@ public final class FileUtil {
|
||||
finally {
|
||||
close(in);
|
||||
}
|
||||
|
||||
return bytes;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user