From 844eedfebb043bf38a6f62ad324c12704359a5ee Mon Sep 17 00:00:00 2001 From: Artyom Tarynin Date: Mon, 11 May 2020 20:13:43 +0300 Subject: [PATCH] Update AntPathRequestMatcher.java Fixed typo in JavaDoc. Actually, In these two cases, we are calling the constructor with a `boolean caseSensitive` which is equal to true. This means case sensitive --- .../security/web/util/matcher/AntPathRequestMatcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/util/matcher/AntPathRequestMatcher.java b/web/src/main/java/org/springframework/security/web/util/matcher/AntPathRequestMatcher.java index 1acaac55cca..146398c0c2a 100644 --- a/web/src/main/java/org/springframework/security/web/util/matcher/AntPathRequestMatcher.java +++ b/web/src/main/java/org/springframework/security/web/util/matcher/AntPathRequestMatcher.java @@ -68,7 +68,7 @@ public final class AntPathRequestMatcher /** * Creates a matcher with the specific pattern which will match all HTTP methods in a - * case insensitive manner. + * case sensitive manner. * * @param pattern the ant pattern to use for matching */ @@ -77,7 +77,7 @@ public AntPathRequestMatcher(String pattern) { } /** - * Creates a matcher with the supplied pattern and HTTP method in a case insensitive + * Creates a matcher with the supplied pattern and HTTP method in a case sensitive * manner. * * @param pattern the ant pattern to use for matching