if (shiftType == null) { shifts.addAll(executionCourse.getAssociatedShiftsSet()); } else { shifts.addAll(executionCourse.getShiftsByTypeOrderedByShiftName(shiftType)); }
shifts.addAll(executionCourse.getAssociatedShiftsSet());
    public Object provide(Object source, Object currentValue) {	ShowSummariesBean bean = (ShowSummariesBean) source;	ExecutionCourse executionCourse = bean.getExecutionCourse();	ShiftType shiftType = bean.getShiftType();	Set<Shift> shifts = new TreeSet<Shift>(Shift.SHIFT_COMPARATOR_BY_TYPE_AND_ORDERED_LESSONS);	if (executionCourse != null) {	    	    if (shiftType == null) {		shifts.addAll(executionCourse.getAssociatedShiftsSet());	    } else {		shifts.addAll(executionCourse.getShiftsByTypeOrderedByShiftName(shiftType));	    }	}	return shifts;    }