Skip to content

Commit 3b1d14a

Browse files
committed
Fix checkstyle warning
See gh-34253
1 parent 75e2e2c commit 3b1d14a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/test/java/org/springframework/web/util/ForwardedHeaderUtilsTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ void fromHttpRequestXForwardedHeaderForIpv6Formatting() {
546546
headers.add("X-Forwarded-For", "fd00:fefe:1::4, 192.168.0.1");
547547

548548
InetSocketAddress address =
549-
ForwardedHeaderUtils.parseForwardedFor(URI.create("http://example.com"), headers, null);
549+
ForwardedHeaderUtils.parseForwardedFor(URI.create("https://example.com"), headers, null);
550550

551551
assertThat(address.getHostName()).isEqualTo("[fd00:fefe:1::4]");
552552
}

0 commit comments

Comments
 (0)