Fixed bug which overwrote the data file, causing it to be invalid.

This commit is contained in:
CalDescent 2021-08-13 06:55:44 +01:00
parent c790ea07dd
commit 743a61bf49

View File

@ -124,7 +124,6 @@ public class DataFileWriter {
}
private void validate() throws IOException {
this.dataFile = DataFile.fromPath(this.filePath.toString());
if (this.dataFile == null) {
throw new IOException("No file available when validating");
}