return getExecutionDegrees(null);
}
public List<ExecutionDegree> getExecutionDegrees(final AcademicInterval academicInterval) {
if (academicInterval == null) {
return getInternalExecutionDegrees();
<BUG>}
return FluentIterable.from(getInternalExecutionDegrees()).filter(new Predicate<ExecutionDegree>() {
@Override
public boolean apply(ExecutionDegree input) {
return academicInterval.equals(input.getAcademicInterval());
}
}).toList();</BUG>
}

return getExecutionDegrees(null);
}
public List<ExecutionDegree> getExecutionDegrees(final AcademicInterval academicInterval) {
if (academicInterval == null) {
return getInternalExecutionDegrees();
}
return getInternalExecutionDegrees().stream().filter(input -> academicInterval.equals(input.getAcademicInterval()))
.collect(Collectors.toList());
}
