remove hostDetected() method that was deprecated in Drake
Change-Id: Ib975d7c8f5cf8aec25a1990114ad516e2d273150
diff --git a/core/api/src/main/java/org/onosproject/net/host/HostProviderService.java b/core/api/src/main/java/org/onosproject/net/host/HostProviderService.java
index 3403486..f22b044 100644
--- a/core/api/src/main/java/org/onosproject/net/host/HostProviderService.java
+++ b/core/api/src/main/java/org/onosproject/net/host/HostProviderService.java
@@ -30,19 +30,6 @@
*
* @param hostId id of the host that been detected
* @param hostDescription description of host and its location
- * @deprecated in Drake release
- */
- @Deprecated
- default void hostDetected(HostId hostId, HostDescription hostDescription) {
- hostDetected(hostId, hostDescription, false);
- }
-
- /**
- * Notifies the core when a host has been detected on a network along with
- * information that identifies the host location.
- *
- * @param hostId id of the host that been detected
- * @param hostDescription description of host and its location
* @param replaceIps replace IP set if true, merge IP set otherwise
*/
void hostDetected(HostId hostId, HostDescription hostDescription, boolean replaceIps);
diff --git a/core/net/src/test/java/org/onosproject/net/host/impl/HostManagerTest.java b/core/net/src/test/java/org/onosproject/net/host/impl/HostManagerTest.java
index c5a6cab..56e7ce8 100644
--- a/core/net/src/test/java/org/onosproject/net/host/impl/HostManagerTest.java
+++ b/core/net/src/test/java/org/onosproject/net/host/impl/HostManagerTest.java
@@ -125,7 +125,7 @@
private void detect(HostId hid, MacAddress mac, VlanId vlan,
HostLocation loc, IpAddress ip) {
HostDescription descr = new DefaultHostDescription(mac, vlan, loc, ip);
- providerService.hostDetected(hid, descr);
+ providerService.hostDetected(hid, descr, false);
assertNotNull("host should be found", mgr.getHost(hid));
}