diff --git a/src/main/java/org/springframework/cloud/client/discovery/DiscoveryCompositeHealthIndicator.java b/src/main/java/org/springframework/cloud/client/discovery/DiscoveryCompositeHealthIndicator.java index 8eb63ab3..91d86f4e 100644 --- a/src/main/java/org/springframework/cloud/client/discovery/DiscoveryCompositeHealthIndicator.java +++ b/src/main/java/org/springframework/cloud/client/discovery/DiscoveryCompositeHealthIndicator.java @@ -2,15 +2,15 @@ package org.springframework.cloud.client.discovery; import java.util.List; -import lombok.extern.slf4j.Slf4j; - import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.actuate.health.*; +import org.springframework.boot.actuate.health.CompositeHealthIndicator; +import org.springframework.boot.actuate.health.Health; +import org.springframework.boot.actuate.health.HealthAggregator; +import org.springframework.boot.actuate.health.HealthIndicator; /** * @author Spencer Gibb */ -@Slf4j public class DiscoveryCompositeHealthIndicator extends CompositeHealthIndicator { @Autowired diff --git a/src/main/java/org/springframework/cloud/client/discovery/DiscoveryHeartbeatEvent.java b/src/main/java/org/springframework/cloud/client/discovery/DiscoveryHeartbeatEvent.java index 94ceebbb..32f93cc6 100644 --- a/src/main/java/org/springframework/cloud/client/discovery/DiscoveryHeartbeatEvent.java +++ b/src/main/java/org/springframework/cloud/client/discovery/DiscoveryHeartbeatEvent.java @@ -5,6 +5,7 @@ import org.springframework.context.ApplicationEvent; /** * @author Spencer Gibb */ +@SuppressWarnings("serial") public class DiscoveryHeartbeatEvent extends ApplicationEvent { private final Object value;