From 66bb14524719b217b665f4da6fd168b1432f80ef Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Wed, 6 May 2020 06:35:43 +0100 Subject: [PATCH] Fix typo See gh-23915, gh-25018 --- .../web/accept/ContentNegotiationManagerFactoryBean.java | 4 ++-- .../web/servlet/config/annotation/PathMatchConfigurer.java | 4 ++-- .../mvc/method/annotation/RequestMappingHandlerMapping.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/accept/ContentNegotiationManagerFactoryBean.java b/spring-web/src/main/java/org/springframework/web/accept/ContentNegotiationManagerFactoryBean.java index f39d1b4a2d..4fbcb653b7 100644 --- a/spring-web/src/main/java/org/springframework/web/accept/ContentNegotiationManagerFactoryBean.java +++ b/spring-web/src/main/java/org/springframework/web/accept/ContentNegotiationManagerFactoryBean.java @@ -168,8 +168,8 @@ public class ContentNegotiationManagerFactoryBean * have no impact on content negotiation. * @deprecated as of 5.2.4. See class-level note on the deprecation of path * extension config options. As there is no replacement for this method, - * in 5.2.x it is necessary to set it to {@code false}. In 5.3 {@code false} - * becomes the default, and use of this property is longer be necessary. + * in 5.2.x it is necessary to set it to {@code false}. In 5.3 the default + * changes to {@code false} and use of this property becomes unnecessary. */ @Deprecated public void setFavorPathExtension(boolean favorPathExtension) { diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java index d07e7731f4..0dd684e2aa 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/config/annotation/PathMatchConfigurer.java @@ -70,8 +70,8 @@ public class PathMatchConfigurer { * @deprecated as of 5.2.4. See class-level note in * {@link RequestMappingHandlerMapping} on the deprecation of path extension * config options. As there is no replacement for this method, in 5.2.x it is - * necessary to set it to {@code false}. In 5.3 {@code false} becomes the - * default, and use of this property is longer be necessary. + * necessary to set it to {@code false}. In 5.3 the default changes to + * {@code false} and use of this property becomes unnecessary. */ @Deprecated public PathMatchConfigurer setUseSuffixPatternMatch(Boolean suffixPatternMatch) { diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java index 5fc82f5340..127cb3c01f 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java @@ -98,8 +98,8 @@ public class RequestMappingHandlerMapping extends RequestMappingInfoHandlerMappi * more fine-grained control over specific suffixes to allow. * @deprecated as of 5.2.4. See class level note on the deprecation of * path extension config options. As there is no replacement for this method, - * in 5.2.x it is necessary to set it to {@code false}. In 5.3 {@code false} - * becomes the default, and use of this property is longer be necessary. + * in 5.2.x it is necessary to set it to {@code false}. In 5.3 the default + * changes to {@code false} and use of this property becomes unnecessary. */ @Deprecated public void setUseSuffixPatternMatch(boolean useSuffixPatternMatch) {