Skip to content

Commit 7f615fd

Browse files
committed
Fix reference in deprecation message of parseForwardedFor
1 parent 33b1ff5 commit 7f615fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ public static UriComponentsBuilder fromHttpRequest(HttpRequest request) {
333333
* @return an {@code InetSocketAddress} with the extracted host and port, or
334334
* {@code null} if the headers are not present.
335335
* @since 5.3
336-
* @deprecated in favor of {@link ForwardedHeaderUtils#adaptFromForwardedHeaders};
336+
* @deprecated in favor of {@link ForwardedHeaderUtils#parseForwardedFor};
337337
* to be removed in 6.2
338338
*/
339339
@Deprecated(since = "6.1", forRemoval = true)

0 commit comments

Comments
 (0)