if (StringUtils.isEmpty(form.getString("executionDegree"))) { List<ExecutionDegree> intersection = (List<ExecutionDegree>) CollectionUtils.intersection( executionDegrees, studentCurricularPlan.getDegreeCurricularPlan() .getExecutionDegreesSet()); form.set("executionDegree", intersection.get(0).getIdInternal().toString()); }
if (StringUtils.isEmpty(form.getString("executionDegree"))) { List<ExecutionDegree> intersection = (List<ExecutionDegree>) CollectionUtils.intersection( executionDegrees, studentCurricularPlan.getDegreeCurricularPlan() .getExecutionDegreesSet()); form.set("executionDegree", intersection.get(0).getIdInternal().toString());
	private void setDefaultExecutionDegree(final DynaActionForm form,			final StudentCurricularPlan studentCurricularPlan,			final List<ExecutionDegree> executionDegrees) {		if (StringUtils.isEmpty(form.getString("executionDegree"))) {			List<ExecutionDegree> intersection = (List<ExecutionDegree>) CollectionUtils.intersection(					executionDegrees, studentCurricularPlan.getDegreeCurricularPlan()							.getExecutionDegreesSet());			form.set("executionDegree", intersection.get(0).getIdInternal().toString());		}	}