code cleanup

This commit is contained in:
romanschenk37 2022-03-25 22:42:51 +01:00
parent efe1e1f304
commit acd01b42eb
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!");
}
}
}