Spring Framework 7.1 deprecates RestTemplate and related types for removal
(spring-framework#36574). Spring Security has many internal usages of
RestOperations/RestTemplate that will need to move to RestClient
(tracked in #19027), but until that migration happens, upgrading to
Framework 7.1 will produce removal deprecation warnings throughout the
build.
Add @SuppressWarnings("removal") at each internal usage site as an interim
measure so the Framework 7.1 upgrade doesn't introduce a wave of warnings
ahead of the real migration in #19027.
Related to #19528 and #19027.
Spring Framework 7.1 deprecates
RestTemplateand related types for removal(spring-framework#36574). Spring Security has many internal usages of
RestOperations/RestTemplatethat will need to move toRestClient(tracked in #19027), but until that migration happens, upgrading to
Framework 7.1 will produce
removaldeprecation warnings throughout thebuild.
Add
@SuppressWarnings("removal")at each internal usage site as an interimmeasure so the Framework 7.1 upgrade doesn't introduce a wave of warnings
ahead of the real migration in #19027.
Related to #19528 and #19027.