public static List buildExecutionDegreeLabelValueBean(List executionDegreeList, MessageResources messageResources) {
public static List buildExecutionDegreeLabelValueBean(List executionDegreeList, MessageResources messageResources, HttpServletRequest request) {
    public static List buildExecutionDegreeLabelValueBean(List executionDegreeList, MessageResources messageResources) {        List executionDegreeLabels = new ArrayList();        Iterator iterator = executionDegreeList.iterator();        while (iterator.hasNext()) {            InfoExecutionDegree infoExecutionDegree = (InfoExecutionDegree) iterator.next();            String name = infoExecutionDegree.getInfoDegreeCurricularPlan().getInfoDegree().getNome();            String degreeType = null;                        if(messageResources != null) {                degreeType = messageResources.getMessage(infoExecutionDegree.getInfoDegreeCurricularPlan().getInfoDegree().getTipoCurso()                        .toString());                            }                        if(degreeType == null)                degreeType = infoExecutionDegree.getInfoDegreeCurricularPlan().getInfoDegree().getTipoCurso().toString();                        name = degreeType                    + " em " + name;            name += duplicateInfoDegree(executionDegreeList, infoExecutionDegree) ? " - "                    + infoExecutionDegree.getInfoDegreeCurricularPlan().getName() : "";            executionDegreeLabels.add(new LabelValueBean(name, infoExecutionDegree.getIdInternal()                    .toString()));        }        return executionDegreeLabels;    }