We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b351c33 commit 5ce4cc2Copy full SHA for 5ce4cc2
MinimizingLateness/MinimizingLateness.java
@@ -26,6 +26,7 @@ public static void main(String[] args) throws IOException {
26
BufferedReader in = new BufferedReader(new FileReader("MinimizingLateness/lateness_data.txt"));
27
String ch = in.readLine();
28
if (ch == null || ch.isEmpty()) {
29
+ in.close();
30
return;
31
}
32
int indexCount = Integer.parseInt(ch);
0 commit comments