List<Enrolment> enrolmentsToImprov = new ArrayList<Enrolment>(); for (StudentCurricularPlan scp : getStudentCurricularPlans()) { if (scp.getDegreeCurricularPlan().getDegree().getTipoCurso().equals(DegreeType.DEGREE)) { enrolmentsToImprov.addAll(scp.getEnrolmentsToImprov(executionPeriod)); } } return enrolmentsToImprov;
List<Enrolment> enrolmentsToImprov = new ArrayList<Enrolment>(); for (StudentCurricularPlan scp : getStudentCurricularPlans()) { if (scp.getDegreeCurricularPlan().getDegree().getTipoCurso().equals(DegreeType.DEGREE)) { enrolmentsToImprov.addAll(scp.getEnrolmentsToImprov(executionPeriod)); }
	public List<Enrolment> getEnrolmentsToImprov(ExecutionPeriod executionPeriod) {		if (executionPeriod == null) {			throw new DomainException("error.executionPeriod.notExist");		}		List<Enrolment> enrolmentsToImprov = new ArrayList<Enrolment>();		for (StudentCurricularPlan scp : getStudentCurricularPlans()) {			if (scp.getDegreeCurricularPlan().getDegree().getTipoCurso().equals(DegreeType.DEGREE)) {				enrolmentsToImprov.addAll(scp.getEnrolmentsToImprov(executionPeriod));			}		}		return enrolmentsToImprov;	}