}
if (!executionCourses.isEmpty()) {
Collection<GradesToSubmitExecutionCourseSendMailBean> executionCoursesBean =
new ArrayList<GradesToSubmitExecutionCourseSendMailBean>();
for (ExecutionCourse course : executionCourses) {
executionCoursesBean.add(new GradesToSubmitExecutionCourseSendMailBean(bean.getDegreeCurricularPlan(), course,
true));
}
bean.setGradesToSubmitExecutionCourseSendMailBean(executionCoursesBean);
}
request.setAttribute("bean", bean);