Skip to content
Snippets Groups Projects
Commit bf3f0235 authored by Gabriel Mille's avatar Gabriel Mille
Browse files

correctiob new input

parent 60887793
Branches
No related tags found
No related merge requests found
......@@ -28,9 +28,9 @@ public class Input {
}
public void newInput() throws IOException {
BufferedReader in= new BufferedReader( new InputStreamReader(System.in));
do {
BufferedReader in= new BufferedReader( new InputStreamReader(System.in));
try {
try {
setInput(in.readLine());
......@@ -43,7 +43,7 @@ public class Input {
} catch (Exception e) {
System.err.println(e.getMessage()+": Contact support");
} finally {
in.close();
// in.close();
}
}
while (!validInput());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment