Skip to content

Commit 5540919

Browse files
committed
polishing
1 parent 33ea007 commit 5540919

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@
177177
import org.springframework.security.oauth2.client.ReactiveOAuth2AuthorizedClientManager;
178178
import org.springframework.security.web.server.SecurityWebFilterChain;
179179
import org.springframework.util.ClassUtils;
180-
import org.springframework.util.StringUtils;
181180
import org.springframework.validation.Validator;
182181
import org.springframework.web.reactive.DispatcherHandler;
183182
import org.springframework.web.reactive.socket.client.ReactorNettyWebSocketClient;

spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/filter/headers/TrustedProxies.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
@FunctionalInterface
4040
public interface TrustedProxies {
4141

42+
/**
43+
* Property name.
44+
*/
4245
String PROPERTY = GatewayProperties.PREFIX + ".trusted-proxies";
4346

4447
boolean isTrusted(String host);

0 commit comments

Comments
 (0)