Mention when RestTemplate will be removed

`RestTemplate` is deprecated, this commit amends the JavaDoc to mention
its scheduled removal for the next major version, Spring Framework 8.0.

See gh-36574
This commit is contained in:
Brian Clozel
2026-03-31 22:03:36 +02:00
parent 94e2f49e9f
commit 2c973d3034
@@ -100,7 +100,7 @@ import org.springframework.web.util.UriTemplateHandler;
* @see RequestCallback
* @see ResponseExtractor
* @see ResponseErrorHandler
* @deprecated as of 7.1, in favor of {@link RestClient}.
* @deprecated as of 7.1, in favor of {@link RestClient}. For removal in 8.0.
*/
@Deprecated(since = "7.1", forRemoval = true)
@SuppressWarnings("removal")