Added a TODO message.
This commit is contained in:
parent
4ef61f36d8
commit
ce37d5e2da
@ -136,6 +136,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
|
||||
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