Removes deprecated EurekaDiscoveryClient.EurekaServiceInstance

fixes gh-3742
This commit is contained in:
Spencer Gibb
2020-01-27 12:48:48 -05:00
parent 41f69f51f3
commit 41ac1e7b89

View File

@@ -99,22 +99,4 @@ public class EurekaDiscoveryClient implements DiscoveryClient {
: DiscoveryClient.DEFAULT_ORDER;
}
/**
* An Eureka-specific {@link ServiceInstance} implementation. Extends
* {@link org.springframework.cloud.netflix.eureka.EurekaServiceInstance} for
* backwards compatibility.
*
* @deprecated In favor of
* {@link org.springframework.cloud.netflix.eureka.EurekaServiceInstance}.
*/
@Deprecated
public static class EurekaServiceInstance
extends org.springframework.cloud.netflix.eureka.EurekaServiceInstance {
public EurekaServiceInstance(InstanceInfo instance) {
super(instance);
}
}
}