private List cleanList(List studentCurricularPlans, IUserView userView) throws FenixServiceException { List result = new ArrayList();
private List cleanList(List enrolmentList) throws FenixServiceException { List<InfoEnrolment> result = new ArrayList<InfoEnrolment>();
    private List cleanList(List studentCurricularPlans, IUserView userView) throws FenixServiceException {        List result = new ArrayList();        Integer numberAux = null;        BeanComparator numberComparator = new BeanComparator("studentCurricularPlan.student.number");        Collections.sort(studentCurricularPlans, numberComparator);        Iterator iterator = studentCurricularPlans.iterator();        while (iterator.hasNext()) {            IEnrolment enrolment = (IEnrolment) iterator.next();            if ((numberAux == null)                    || (numberAux.intValue() != enrolment.getStudentCurricularPlan().getStudent()                            .getNumber().intValue())) {                numberAux = enrolment.getStudentCurricularPlan().getStudent().getNumber();                InfoEnrolmentEvaluation infoEnrolmentEvaluation = (new GetEnrolmentGrade()).run(enrolment);                                InfoEnrolment infoEnrolment = InfoEnrolmentWithStudentPlanAndCourseAndExecutionPeriod                        .newInfoFromDomain(enrolment);                infoEnrolment.setInfoEnrolmentEvaluation(infoEnrolmentEvaluation);                result.add(infoEnrolment);            }        }        return result;    }