close Reader
This commit is contained in:
parent
b351c33ad3
commit
5ce4cc2696
@ -26,6 +26,7 @@ public class MinimizingLateness {
|
||||
BufferedReader in = new BufferedReader(new FileReader("MinimizingLateness/lateness_data.txt"));
|
||||
String ch = in.readLine();
|
||||
if (ch == null || ch.isEmpty()) {
|
||||
in.close();
|
||||
return;
|
||||
}
|
||||
int indexCount = Integer.parseInt(ch);
|
||||
|
Loading…
Reference in New Issue
Block a user