return allCurricularCourseScopes;
return new ArrayList();
    public List run(Integer curricularCourseId) throws FenixServiceException {        ISuportePersistente sp;        List allCurricularCourseScopes = null;        try {            sp = PersistenceSupportFactory.getDefaultPersistenceSupport();            ICurricularCourse curricularCourse = (ICurricularCourse) sp.getIPersistentCurricularCourse()                    .readByOID(CurricularCourse.class, curricularCourseId);            allCurricularCourseScopes = curricularCourse.getScopes();        } catch (ExcepcaoPersistencia excepcaoPersistencia) {            throw new FenixServiceException(excepcaoPersistencia);        }        if (allCurricularCourseScopes == null || allCurricularCourseScopes.isEmpty())            return allCurricularCourseScopes;        Iterator iterator = allCurricularCourseScopes.iterator();        List result = new ArrayList(allCurricularCourseScopes.size());        while (iterator.hasNext())			result.add(InfoCurricularCourseScopeWithBranchAndSemesterAndYear.newInfoFromDomain((ICurricularCourseScope) iterator.next()));        return result;    }