return allExecutionCourses;
return new ArrayList();
    public List run(Integer curricularCourseId) throws FenixServiceException {        ISuportePersistente sp;        List allExecutionCourses = null;        try {            sp = PersistenceSupportFactory.getDefaultPersistenceSupport();            ICurricularCourse curricularCourse = (ICurricularCourse) sp.getIPersistentCurricularCourse()                    .readByOID(CurricularCourse.class, curricularCourseId);            if (curricularCourse == null) {                throw new NonExistingServiceException("message.nonExistingCurricularCourse", null);            }            allExecutionCourses = curricularCourse.getAssociatedExecutionCourses();            if (allExecutionCourses == null || allExecutionCourses.isEmpty()) {                return allExecutionCourses;            }            // build the result of this service            Iterator iterator = allExecutionCourses.iterator();            List result = new ArrayList(allExecutionCourses.size());            Boolean hasSite;            while (iterator.hasNext()) {				InfoExecutionCourse infoExecutionCourse = InfoExecutionCourseWithExecutionPeriod.newInfoFromDomain((IExecutionCourse) iterator.next());                try {                                     IExecutionCourse executionCourse = (IExecutionCourse) sp.getIPersistentExecutionCourse().readByOID(ExecutionCourse.class, infoExecutionCourse.getIdInternal());                   if(executionCourse.getSite() != null)                       hasSite = true;                   else                       hasSite = false;                                   } catch (ExcepcaoPersistencia ex) {                    throw new FenixServiceException(ex);                }                infoExecutionCourse.setHasSite(hasSite);                result.add(infoExecutionCourse);            }            return result;        } catch (ExcepcaoPersistencia excepcaoPersistencia) {            throw new FenixServiceException(excepcaoPersistencia);        }    }