From 03e283a2e65c26718150de5ba5bfb1cb391fafbb Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 22 Nov 2021 10:03:21 +0000 Subject: [PATCH] Mention WebProperties in deprecation of ResourceProperties Closes gh-28762 --- .../boot/autoconfigure/web/ResourceProperties.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java index ad3d2aac766e..7bf90836fb18 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java @@ -32,7 +32,8 @@ * @author Kristine Jetzke * @since 1.1.0 * @deprecated since 2.4.0 for removal in 2.6.0 in favor of - * {@link WebProperties.Resources} + * {@link WebProperties.Resources} accessed through {@link WebProperties} and + * {@link WebProperties#getResources() getResources()} */ @Deprecated @ConfigurationProperties(prefix = "spring.resources", ignoreUnknownFields = false)