From aae96faa76a2803f7b8f5ebbdbe06efbc24647ee Mon Sep 17 00:00:00 2001 From: Gregor Zurowski Date: Tue, 11 Jul 2017 23:25:05 +0200 Subject: [PATCH] Remove Lombok from spring-cloud-netflix-hystrix-dashboard module Signed-off-by: Gregor Zurowski --- spring-cloud-netflix-hystrix-dashboard/pom.xml | 7 ------- .../hystrix/dashboard/HystrixDashboardConfiguration.java | 7 ++++--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/spring-cloud-netflix-hystrix-dashboard/pom.xml b/spring-cloud-netflix-hystrix-dashboard/pom.xml index 63c307db..e100a85e 100644 --- a/spring-cloud-netflix-hystrix-dashboard/pom.xml +++ b/spring-cloud-netflix-hystrix-dashboard/pom.xml @@ -56,13 +56,6 @@ org.webjars d3js - - org.projectlombok - lombok - - compile - true - org.springframework.boot spring-boot-starter-test diff --git a/spring-cloud-netflix-hystrix-dashboard/src/main/java/org/springframework/cloud/netflix/hystrix/dashboard/HystrixDashboardConfiguration.java b/spring-cloud-netflix-hystrix-dashboard/src/main/java/org/springframework/cloud/netflix/hystrix/dashboard/HystrixDashboardConfiguration.java index 4d05b504..71b6f7d4 100644 --- a/spring-cloud-netflix-hystrix-dashboard/src/main/java/org/springframework/cloud/netflix/hystrix/dashboard/HystrixDashboardConfiguration.java +++ b/spring-cloud-netflix-hystrix-dashboard/src/main/java/org/springframework/cloud/netflix/hystrix/dashboard/HystrixDashboardConfiguration.java @@ -26,8 +26,8 @@ import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import lombok.extern.apachecommons.CommonsLog; - +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.http.Header; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; @@ -103,9 +103,10 @@ public class HystrixDashboardConfiguration { * not yet support CORS (https://bugs.webkit.org/show_bug.cgi?id=61862) so that a UI * can request a stream from a different server. */ - @CommonsLog public static class ProxyStreamServlet extends HttpServlet { + private static final Log log = LogFactory.getLog(ProxyStreamServlet.class); + private static final long serialVersionUID = 1L; private static final String CONNECTION_CLOSE_VALUE = "close";