Merge remote-tracking branch 'origin/main'

This commit is contained in:
Leonardo Brandenberger 2022-03-25 22:58:02 +01:00
commit c41b56b47e
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ public class MoveListStrategy implements MoveStrategy {
break;
}
}
if (!(validLine || line == "")) {
throw new InvalidFileFormatException("The File contains invalid data! Please ");
if (!(validLine || line.equals(""))) {
throw new InvalidFileFormatException("The File contains invalid data!");
}
}
}