Fix output

This commit is contained in:
AlexTheCoder 2018-01-30 00:56:47 -05:00 committed by Alexander Meech
parent 4a4a935b9d
commit 600378d361
1 changed files with 3 additions and 2 deletions

View File

@ -210,9 +210,10 @@ public class Main
{ {
try try
{ {
_totalCompleted++;
_info.createNewFile(); _info.createNewFile();
Files.write(String.valueOf(_totalCompleted + 1).getBytes(), _info); Files.write(String.valueOf(_totalCompleted).getBytes(), _info);
System.out.println("[INFO] Completed group " + _totalCompleted++ + " of 10000 in " + timeTaken + " milliseconds"); System.out.println("[INFO] Completed group " + _totalCompleted + " of 10000 in " + timeTaken + " milliseconds");
} }
catch (IOException e) catch (IOException e)
{ {