Skip to content
Snippets Groups Projects
Commit 44b31aaf authored by Christopher Schankula's avatar Christopher Schankula :earth_africa:
Browse files

pause at end of file reading

parent a3b24571
No related branches found
No related tags found
No related merge requests found
......@@ -64,19 +64,17 @@ public class FileProcessor {
i++;
System.out.println("Processed line " + i);
parse(currentLine);
//s.nextLine(); //Testing ONLY for checking one line at a time
}
//initialize the storage of records
DataStore.init(al.toArray(new Record[al.size()]));
al = null; //free temporary memory storage of Record objects now that they're in the KDTree.
s.close();//Testing ONLY
br.close();
fr.close();
Scanner sc = new Scanner(System.in);
int j = sc.nextInt();
s.nextLine(); //Testing ONLY for checking one line at a time
s.close();//Testing ONLY
}
catch (IOException e) {
e.printStackTrace();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment