mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix compat error by continuing the throw from Java's fileReader class
This commit is contained in:
parent
4e670f85f5
commit
4fa8fff3db
@ -406,7 +406,13 @@ public class IO
|
|||||||
|
|
||||||
public static String readAll(File f) throws IOException
|
public static String readAll(File f) throws IOException
|
||||||
{
|
{
|
||||||
BufferedReader bu = new BufferedReader(new FileReader(f));
|
FileReader fr;
|
||||||
|
try {
|
||||||
|
fr = new FileReader(f);
|
||||||
|
} catch (IOException e) {
|
||||||
|
throw new IOException(e);
|
||||||
|
}
|
||||||
|
BufferedReader bu = new BufferedReader(fr);
|
||||||
String c = "";
|
String c = "";
|
||||||
String l = "";
|
String l = "";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user