From 8d3375101e295e020ab55f14ce108247808ebe4b Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 16 Dec 2014 10:53:41 +0000 Subject: [PATCH] Compiler warnings --- .../discovery/DiscoveryCompositeHealthIndicator.java | 8 ++++---- .../cloud/client/discovery/DiscoveryHeartbeatEvent.java | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) 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;