diff --git a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPatternParser.java b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPatternParser.java index 30ff6ff55c5..5e177a1a39f 100644 --- a/spring-web/src/main/java/org/springframework/web/util/pattern/PathPatternParser.java +++ b/spring-web/src/main/java/org/springframework/web/util/pattern/PathPatternParser.java @@ -43,7 +43,7 @@ public class PathPatternParser { /** - * Whether a {@link PathPattern} produced by this parser should + * Configure whether a {@link PathPattern} produced by this parser should * automatically match request paths with a trailing slash. *

If set to {@code true} a {@code PathPattern} without a trailing slash * will also match request paths with a trailing slash. If set to @@ -70,7 +70,7 @@ public class PathPatternParser { } /** - * Whether path pattern matching should be case-sensitive. + * Configure whether path pattern matching should be case-sensitive. *

The default is {@code true}. */ public void setCaseSensitive(boolean caseSensitive) { @@ -96,7 +96,7 @@ public class PathPatternParser { } /** - * Return the {@link #setPathOptions configured} pattern parsing options. + * Get the {@link #setPathOptions configured} pattern parsing options. * @since 5.2 */ public PathContainer.Options getPathOptions() { @@ -131,11 +131,12 @@ public class PathPatternParser { /** - * Shared, read-only instance of {@code PathPatternParser}. Uses default settings: + * Shared, read-only instance of {@code PathPatternParser}. + *

Uses default settings: *

*/ public final static PathPatternParser defaultInstance = new PathPatternParser() { @@ -160,5 +161,7 @@ public class PathPatternParser { throw new UnsupportedOperationException( "This is a read-only, shared instance that cannot be modified"); } + }; + }