Skip to content

Commit 6e7e72a

Browse files
committed
Remove redundant deprecation suppressions
Closes gh-27415
2 parents 4b50938 + 6036cde commit 6e7e72a

File tree

6 files changed

+0
-7
lines changed

6 files changed

+0
-7
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheConfigurations.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
* @author Eddú Meléndez
3030
* @author Sebastien Deleuze
3131
*/
32-
@SuppressWarnings("deprecation")
3332
final class CacheConfigurations {
3433

3534
private static final Map<CacheType, String> MAPPINGS;

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/ResourceChainResourceHandlerRegistrationCustomizer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public void customize(ResourceHandlerRegistration registration) {
4343
configureResourceChain(properties, registration.resourceChain(properties.isCache()));
4444
}
4545

46-
@SuppressWarnings("deprecation")
4746
private void configureResourceChain(Resources.Chain properties, ResourceChainRegistration chain) {
4847
Resources.Chain.Strategy strategy = properties.getStrategy();
4948
if (properties.isCompressed()) {

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/WebFluxAutoConfiguration.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ public OrderedHiddenHttpMethodFilter hiddenHttpMethodFilter() {
113113
public static class WelcomePageConfiguration {
114114

115115
@Bean
116-
@SuppressWarnings("deprecation")
117116
public RouterFunctionMapping welcomePageRouterFunctionMapping(ApplicationContext applicationContext,
118117
WebFluxProperties webFluxProperties, WebProperties webProperties) {
119118
String[] staticLocations = webProperties.getResources().getStaticLocations();
@@ -131,7 +130,6 @@ public RouterFunctionMapping welcomePageRouterFunctionMapping(ApplicationContext
131130

132131
}
133132

134-
@SuppressWarnings("deprecation")
135133
@Configuration(proxyBeanMethods = false)
136134
@EnableConfigurationProperties({ WebProperties.class, WebFluxProperties.class })
137135
@Import({ EnableWebFluxConfiguration.class })

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/reactive/error/ErrorWebFluxAutoConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
* @author Scott Frederick
4949
* @since 2.0.0
5050
*/
51-
@SuppressWarnings("deprecation")
5251
@Configuration(proxyBeanMethods = false)
5352
@ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.REACTIVE)
5453
@ConditionalOnClass(WebFluxConfigurer.class)

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcProperties.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ public Pathmatch getPathmatch() {
208208
return this.pathmatch;
209209
}
210210

211-
@SuppressWarnings("deprecation")
212211
public void checkConfiguration() {
213212
if (this.getPathmatch().getMatchingStrategy() == MatchingStrategy.PATH_PATTERN_PARSER) {
214213
if (this.getPathmatch().isUseSuffixPattern()) {

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/error/ErrorMvcAutoConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ public static PreserveErrorControllerTargetClassPostProcessor preserveErrorContr
122122
return new PreserveErrorControllerTargetClassPostProcessor();
123123
}
124124

125-
@SuppressWarnings("deprecation")
126125
@Configuration(proxyBeanMethods = false)
127126
@EnableConfigurationProperties({ WebProperties.class, WebMvcProperties.class })
128127
static class DefaultErrorViewResolverConfiguration {

0 commit comments

Comments
 (0)