private Object readDepartmentUnits(String selectedCurricularRuleType) throws FenixFilterException, FenixServiceException {
private Object readDepartmentUnits(String selectedCurricularRuleType) {
    private Object readDepartmentUnits(String selectedCurricularRuleType) throws FenixFilterException, FenixServiceException {        final List<SelectItem> result = new ArrayList<SelectItem>();        if (selectedCurricularRuleType != null                && selectedCurricularRuleType.equals(CurricularRuleType.ANY_CURRICULAR_COURSE.name())) {            for (final Unit unit : UnitUtils.readAllDepartmentUnits()) {                result.add(new SelectItem(unit.getIdInternal(), unit.getName()));            }            Collections.sort(result, new BeanComparator("label"));        }        result.add(0, new SelectItem(NO_SELECTION_INTEGER, bolonhaResources.getString("choose")));        return result;    }