IEnrolment enrolment = (IEnrolment) iterator.next();
IEnrollment enrolment = (IEnrollment) iterator.next();
	private boolean areNewAreasCompatible(		IBranch specializationArea,		IBranch secundaryArea,		IStudentCurricularPlan studentCurricularPlan)		throws ExcepcaoPersistencia	{		if (specializationArea == null && secundaryArea == null)		{			return true;		}		List curricularCoursesFromGivenAreas =			getCurricularCoursesFromGivenAreas(studentCurricularPlan, specializationArea, secundaryArea);		List curricularCoursesBelongingToAnySpecializationAndSecundaryArea =			getCurricularCoursesBelongingToAnySpecializationAndSecundaryArea(studentCurricularPlan);		List studentsAprovedEnrollments = getStudentsAprovedEnrollments(studentCurricularPlan);		Iterator iterator = studentsAprovedEnrollments.iterator();		while (iterator.hasNext())		{			IEnrolment enrolment = (IEnrolment) iterator.next();			if (curricularCoursesBelongingToAnySpecializationAndSecundaryArea				.contains(enrolment.getCurricularCourse())				&& !curricularCoursesFromGivenAreas.contains(enrolment.getCurricularCourse()))			{				return false;			}		}		return true;	}