import com.google.common.base.Splitter;
import com.google.common.base.Strings;
-import com.google.common.collect.Lists;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
if (dpId != null) {
otherConfigs = new ArrayList<>(bridgeAug.nonnullBridgeOtherConfigs().values());
if (otherConfigs == null) {
- otherConfigs = Lists.newArrayList();
+ otherConfigs = new ArrayList<>();
}
if (otherConfigs.stream().noneMatch(otherConfig ->
.setBridgeOtherConfigValue(dpIdVal).build());
}
} else {
- otherConfigs = Lists.newArrayList();
+ otherConfigs = new ArrayList<>();
}
} else {
- otherConfigs = Lists.newArrayList();
+ otherConfigs = new ArrayList<>();
if (mac != null) {
otherConfigs.add(new BridgeOtherConfigsBuilder()
.setBridgeOtherConfigKey(OTHER_CONFIG_HWADDR)