Commit aca1897f by Dave Syer

Compiler warnings

parent 2cdcd767
...@@ -98,7 +98,7 @@ public class EurekaDiscoveryClientConfiguration implements SmartLifecycle, Order ...@@ -98,7 +98,7 @@ public class EurekaDiscoveryClientConfiguration implements SmartLifecycle, Order
if (healthCheckHandler != null) { if (healthCheckHandler != null) {
DiscoveryManager.getInstance().getDiscoveryClient().registerHealthCheck(healthCheckHandler); DiscoveryManager.getInstance().getDiscoveryClient().registerHealthCheck(healthCheckHandler);
} }
context.publishEvent(new InstanceRegisteredEvent(this, instanceConfig)); context.publishEvent(new InstanceRegisteredEvent<>(this, instanceConfig));
running.set(true); running.set(true);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment