From 880c1160e6459c1661085344a6d308a307b35e06 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 23 Oct 2017 11:03:12 +0100 Subject: [PATCH] Replace lombok logger --- .../cloud/endpoint/event/RefreshEventListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-cloud-context/src/main/java/org/springframework/cloud/endpoint/event/RefreshEventListener.java b/spring-cloud-context/src/main/java/org/springframework/cloud/endpoint/event/RefreshEventListener.java index 16cf5e7f..b45bb756 100644 --- a/spring-cloud-context/src/main/java/org/springframework/cloud/endpoint/event/RefreshEventListener.java +++ b/spring-cloud-context/src/main/java/org/springframework/cloud/endpoint/event/RefreshEventListener.java @@ -3,19 +3,19 @@ package org.springframework.cloud.endpoint.event; import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.springframework.boot.context.event.ApplicationReadyEvent; import org.springframework.cloud.context.refresh.ContextRefresher; import org.springframework.context.event.EventListener; -import lombok.extern.apachecommons.CommonsLog; - /** * Calls {@link RefreshEventListener#refresh} when a {@link RefreshEvent} is received. * Only responds to {@link RefreshEvent} after receiving an {@link ApplicationReadyEvent} as the RefreshEvent's might come to early in the application lifecycle. * @author Spencer Gibb */ -@CommonsLog public class RefreshEventListener { + private static Log log = LogFactory.getLog(RefreshEventListener.class); private ContextRefresher refresh; private AtomicBoolean ready = new AtomicBoolean(false);