Remove unused references to BindingAwareBroker 08/72808/1
authorTom Pantelis <tompantelis@gmail.com>
Fri, 8 Jun 2018 18:41:33 +0000 (14:41 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Fri, 8 Jun 2018 18:41:33 +0000 (14:41 -0400)
Change-Id: Id1357a1d5f2a4a5c04eb39170bf47198a5468dfd
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
utils/ovsdb-it-utils/src/main/java/org/opendaylight/ovsdb/utils/ovsdb/it/utils/OvsdbItUtils.java

index 1dd83316346ef528617bc91d0ecc5964f5b1eb76..0b3a914eb2aa4a5f7bcaa17d83a948fd7abb9382 100644 (file)
@@ -14,7 +14,6 @@ import static org.junit.Assert.assertNotNull;
 import java.util.List;
 
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
 import org.opendaylight.ovsdb.utils.mdsal.utils.MdsalUtils;
 import org.opendaylight.ovsdb.utils.mdsal.utils.NotifyingDataChangeListener;
 import org.opendaylight.ovsdb.utils.southbound.utils.SouthboundUtils;
@@ -87,16 +86,4 @@ public class OvsdbItUtils {
         LOG.info("isControllerConnected exit: false {}", controllerTarget);
         return false;
     }
-
-    /**
-     * Get a DataBroker and assert that it is not null.
-     * @param providerContext ProviderContext from which to retrieve the DataBroker
-     * @return the Databroker
-     */
-    public static DataBroker getDatabroker(BindingAwareBroker.ProviderContext providerContext) {
-        DataBroker dataBroker = providerContext.getSALService(DataBroker.class);
-        assertNotNull("dataBroker should not be null", dataBroker);
-        return dataBroker;
-    }
-
 }