public static Collection buildExecutionDegreeLabelValueBean(Collection executionDegrees) {
final Map duplicateDegreesMap = new HashMap();
for (Iterator iterator = executionDegrees.iterator(); iterator.hasNext();) {
InfoExecutionDegree infoExecutionDegree = (InfoExecutionDegree) iterator.next();
InfoDegree infoDegree = infoExecutionDegree.getInfoDegreeCurricularPlan().getInfoDegree();
String degreeName = infoDegree.getNome();
if (duplicateDegreesMap.get(degreeName) == null) {
duplicateDegreesMap.put(degreeName, new Boolean(false));
} else {
duplicateDegreesMap.put(degreeName, new Boolean(true));