for (final Shift shift : executionCourse.getAssociatedShiftsSet()) { if (!enroledShiftsContainsShiftWithSameExecutionCourseAndShiftType(enroledShifts, shift)) {
for (final ShiftType shiftType : executionCourse.getOldShiftTypesToEnrol()) { if (!enroledShiftsContainsShiftWithSameExecutionCourseAndShiftType(enroledShifts, executionCourse, shiftType)) {
    public Integer getNumberOfExecutionCoursesHavingNotEnroledShiftsFor(            final ExecutionPeriod executionPeriod) {        int result = 0;        final List<Shift> enroledShifts = getShiftsFor(executionPeriod);        for (final ExecutionCourse executionCourse : getAttendingExecutionCoursesFor(executionPeriod)) {            for (final Shift shift : executionCourse.getAssociatedShiftsSet()) {                if (!enroledShiftsContainsShiftWithSameExecutionCourseAndShiftType(enroledShifts, shift)) {                    result++;                    break;                }            }        }        return Integer.valueOf(result);    }