</BUG>
final CurricularYear curricularYear, final ExecutionYear executionYear) {
if (curricularYear == null) {
return registrations;
}
<BUG>return registrations.filter(new Predicate<Registration>() {
@Override
public boolean apply(Registration registration) {
return registration.getCurricularYear(executionYear) == curricularYear.getYear();
</BUG>
}

return true;
}
}
return false;
}
private static Stream<Registration> filterCurricularYear(Stream<Registration> registrations,
final CurricularYear curricularYear, final ExecutionYear executionYear) {
if (curricularYear == null) {
return registrations;
