code cleanup
This commit is contained in:
parent
efe1e1f304
commit
acd01b42eb
|
@ -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