Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
c41b56b47e
|
@ -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!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue