From f69bb58691ba18f065565dab1b3bd02cbf111491 Mon Sep 17 00:00:00 2001 From: sgibb Date: Tue, 12 Mar 2024 01:42:45 -0400 Subject: [PATCH] formatting --- .../cloud/gateway/config/GatewayAutoConfiguration.java | 3 ++- .../cloud/gateway/support/KeyValueConverter.java | 1 - .../cloud/gateway/support/config/KeyValueConverter.java | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java index 118382fa3c..cd5a21c059 100644 --- a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java +++ b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java @@ -264,7 +264,8 @@ public RouteLocator cachedCompositeRouteLocator(List routeLocators @Bean @ConditionalOnClass(name = "org.springframework.cloud.client.discovery.event.HeartbeatMonitor") - @ConditionalOnProperty(prefix = GatewayProperties.PREFIX, name = ".route-refresh-listener.enabled", matchIfMissing = true) + @ConditionalOnProperty(prefix = GatewayProperties.PREFIX, name = ".route-refresh-listener.enabled", + matchIfMissing = true) public RouteRefreshListener routeRefreshListener(ApplicationEventPublisher publisher) { return new RouteRefreshListener(publisher); } diff --git a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/support/KeyValueConverter.java b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/support/KeyValueConverter.java index 5aa1f9b847..1a9cfd9f9c 100644 --- a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/support/KeyValueConverter.java +++ b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/support/KeyValueConverter.java @@ -18,7 +18,6 @@ import org.springframework.cloud.gateway.filter.factory.AddRequestHeadersIfNotPresentGatewayFilterFactory.KeyValue; import org.springframework.core.convert.converter.Converter; -import org.springframework.util.StringUtils; /** * @deprecated in favour of diff --git a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/support/config/KeyValueConverter.java b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/support/config/KeyValueConverter.java index d7a9e84e1c..12711e9ccb 100644 --- a/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/support/config/KeyValueConverter.java +++ b/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/support/config/KeyValueConverter.java @@ -17,7 +17,6 @@ package org.springframework.cloud.gateway.support.config; import org.springframework.core.convert.converter.Converter; -import org.springframework.util.StringUtils; /** * @author Marta Medio