List<IExam> unenroledExams = getStudent().getUnenroledExams(); Collections.sort(unenroledExams, comparator);
if (unenroledExams == null) { unenroledExams = getStudent().getUnenroledExams(); Collections.sort(unenroledExams, comparator); attendingExecutionCourses.clear(); for (final IExam exam : unenroledExams) { attendingExecutionCourses.put(exam.getIdInternal(), exam.getAttendingExecutionCoursesFor(getStudent())); } }
    public List<IExam> getUnenroledExams() throws FenixFilterException, FenixServiceException {        List<IExam> unenroledExams = getStudent().getUnenroledExams();        Collections.sort(unenroledExams, comparator);        return unenroledExams;    }