}
return units;
}
@Override
public Set<? extends Unit<?>> getUnits(Dimension dimension) {
<BUG>final Set<Unit<?>> set = new HashSet<>();
</BUG>
for (Unit<?> unit : this.getUnits()) {
if (dimension.equals(unit.getDimension())) {
set.add(unit);

}
}
return units;
}
@Override
public Set<? extends Unit<?>> getUnits(Dimension dimension) {
final Set<Unit<?>> set = new HashSet<Unit<?>>();
for (Unit<?> unit : this.getUnits()) {
if (dimension.equals(unit.getDimension())) {
set.add(unit);
