return enroledShift.getDisciplinaExecucao() == shift.getDisciplinaExecucao() && enroledShift.getTipo() == shift.getTipo();
return enroledShift.getDisciplinaExecucao() == executionCourse && enroledShift.getTipo() == shiftType;
    private boolean enroledShiftsContainsShiftWithSameExecutionCourseAndShiftType(            final List<Shift> enroledShifts, final Shift shift) {        return CollectionUtils.exists(enroledShifts, new Predicate() {            public boolean evaluate(Object object) {                Shift enroledShift = (Shift) object;                return enroledShift.getDisciplinaExecucao() == shift.getDisciplinaExecucao()                        && enroledShift.getTipo() == shift.getTipo();            }        });    }