/*
- * Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved.
+ * Copyright © 2015, 2017 Brocade Communications Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
import static org.opendaylight.ovsdb.lib.operations.Operations.op;
import com.google.common.base.Optional;
-import com.google.common.collect.Sets;
import java.util.Collection;
+import java.util.Collections;
import java.util.Map;
import java.util.Set;
import org.opendaylight.controller.md.sal.binding.api.DataTreeModification;
transaction.add(op.mutate(bridge.getSchema())
.addMutation(bridge.getPortsColumn().getSchema(),
- Mutator.DELETE, Sets.newHashSet(portUuid))
+ Mutator.DELETE, Collections.singleton(portUuid))
.where(bridge.getNameColumn().getSchema().opEqual(bridgeName)).build());
transaction.add(op.comment("Bridge: Mutating " + bridgeName