Various code clean-up. No functional changes.

This commit is contained in:
Harald Kuhr
2011-03-02 17:26:17 +01:00
parent e75741ccd3
commit af7d5fa94a
8 changed files with 36 additions and 35 deletions

View File

@@ -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;
}