ArrayList summariesAux = new ArrayList();
List summariesAux = new ArrayList();
    public List readByTeacher(final Integer executionCourseID, final Integer teacherNumber)    throws ExcepcaoPersistencia {                List summaries = readByExecutionCourseShifts(executionCourseID);        Iterator iter = summaries.iterator();        ArrayList summariesAux = new ArrayList();                while(iter.hasNext()){            ISummary summary = (ISummary) iter.next();            if(summary.getKeyProfessorship() != null)                if(summary.getProfessorship().getTeacher().getTeacherNumber() == teacherNumber)                                      summariesAux.add(summary);                       }                return summariesAux;    }