Skip to content

Commit 9ba5622

Browse files
committed
Update outdated Javadoc for PathPatternParser.defaultInstance
Spring Framework 6.0 changed the default value of matchOptionalTrailingSeparator from true to false. Closes gh-30976
1 parent 3ff81a4 commit 9ba5622

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

spring-web/src/main/java/org/springframework/web/util/pattern/PathPatternParser.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,12 @@ public PathPattern parse(String pathPattern) throws PatternParseException {
131131

132132

133133
/**
134-
* Shared, read-only instance of {@code PathPatternParser}. Uses default settings:
134+
* Shared, read-only instance of {@code PathPatternParser}.
135+
* <p>Uses default settings:
135136
* <ul>
136-
* <li>{@code matchOptionalTrailingSeparator=true}
137-
* <li>{@code caseSensitivetrue}
138-
* <li>{@code pathOptions=PathContainer.Options.HTTP_PATH}
137+
* <li>{@code matchOptionalTrailingSeparator = false}
138+
* <li>{@code caseSensitive = true}
139+
* <li>{@code pathOptions = PathContainer.Options.HTTP_PATH}
139140
* </ul>
140141
*/
141142
public final static PathPatternParser defaultInstance = new PathPatternParser() {

0 commit comments

Comments
 (0)