readAndSaveInactiveSubUnits(subUnit, allInactiveSubUnits, currentDate); }  return new ArrayList<Unit>(allInactiveSubUnits);
if (!subUnit.isActive(currentDate)) { allInactiveSubUnits.add(subUnit); } } return allInactiveSubUnits;
    public List<Unit> getInactiveSubUnits(Date currentDate) {                Set<Unit> allInactiveSubUnits = new HashSet<Unit>();                for (Unit subUnit : this.getSubUnits()) {            readAndSaveInactiveSubUnits(subUnit, allInactiveSubUnits, currentDate);        }                        return new ArrayList<Unit>(allInactiveSubUnits);    }