public List<ExecutionCourse> getExecutionCoursesByExecutionPeriod(final ExecutionPeriod executionPeriod) { Set<ExecutionCourse> executionCourseSet = new HashSet<ExecutionCourse>();  List<CurricularCourse> curricularCourseList = getCurricularCoursesWithActiveScopesInExecutionPeriod(executionPeriod);  for (CurricularCourse curricularCourse : curricularCourseList) { executionCourseSet.addAll(curricularCourse.getExecutionCoursesByExecutionPeriod(executionPeriod)); }  List<ExecutionCourse> executionCourseList = new ArrayList<ExecutionCourse>(); executionCourseList.addAll(executionCourseSet);
public List<ExecutionCourse> getExecutionCoursesByExecutionPeriod( final ExecutionPeriod executionPeriod) { Set<ExecutionCourse> executionCourseSet = new HashSet<ExecutionCourse>();
    public List<ExecutionCourse> getExecutionCoursesByExecutionPeriod(final ExecutionPeriod executionPeriod) {    	Set<ExecutionCourse> executionCourseSet = new HashSet<ExecutionCourse>();    	    	List<CurricularCourse> curricularCourseList = getCurricularCoursesWithActiveScopesInExecutionPeriod(executionPeriod);    	    	for (CurricularCourse curricularCourse : curricularCourseList) {    		executionCourseSet.addAll(curricularCourse.getExecutionCoursesByExecutionPeriod(executionPeriod));		}    	    	List<ExecutionCourse> executionCourseList = new ArrayList<ExecutionCourse>();    	executionCourseList.addAll(executionCourseSet);    	return executionCourseList;    }