fix
This commit is contained in:
parent
913c38b527
commit
2b66678e8f
1 changed files with 1 additions and 1 deletions
|
@ -1848,7 +1848,6 @@ public class ISBPL {
|
|||
}
|
||||
|
||||
private static String readFile(File f) throws IOException {
|
||||
//noinspection resource
|
||||
FileInputStream fis = new FileInputStream(f);
|
||||
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
|
||||
byte[] currentBytes = new byte[4096];
|
||||
|
@ -1856,6 +1855,7 @@ public class ISBPL {
|
|||
while ((len = fis.read(currentBytes)) > 0) {
|
||||
bytes.write(currentBytes, 0, len);
|
||||
}
|
||||
fis.close();
|
||||
return bytes.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue