Added a TODO message.

This commit is contained in:
Tom Vahlman 2012-02-16 17:43:37 +01:00
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);