boolean enroled) { List<ShiftToEnrol> result = new ArrayList<ShiftToEnrol>(); for (final ShiftToEnrol shiftToEnrol : shiftsToEnrol) { if (shiftToEnrol.isEnrolled() == enroled) { result.add(shiftToEnrol); } } return result;
boolean enroled) { List<ShiftToEnrol> result = new ArrayList<ShiftToEnrol>(); for (final ShiftToEnrol shiftToEnrol : shiftsToEnrol) { if (shiftToEnrol.isEnrolled() == enroled) { result.add(shiftToEnrol); }
	private List<ShiftToEnrol> getShiftsToEnrolByEnroledState(final List<ShiftToEnrol> shiftsToEnrol,			boolean enroled) {		List<ShiftToEnrol> result = new ArrayList<ShiftToEnrol>();		for (final ShiftToEnrol shiftToEnrol : shiftsToEnrol) {			if (shiftToEnrol.isEnrolled() == enroled) {				result.add(shiftToEnrol);			}		}		return result;	}