Just changed a TODO statement.
This commit is contained in:
parent
40127f8bed
commit
4549370ea0
@ -175,7 +175,7 @@ public class ApplicationPeriodFacade {
|
||||
}
|
||||
|
||||
// a helper method, to avoid NPEs when using faulty test data
|
||||
// TODO this method might be changed because start date and/or end date can never be null
|
||||
// TODO this method might be changed because start- and end date and/or project class can never be null
|
||||
private boolean testForInvalidData(final ApplicationPeriod applicationPeriod) {
|
||||
return (applicationPeriod.getProjectClass() == null || applicationPeriod.getProjectClass().isEmpty() ||
|
||||
applicationPeriod.getStartDate() == null || applicationPeriod.getEndDate() == null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user