Skip to content

Commit

Permalink
Update outdated Javadoc for PathPatternParser.defaultInstance
Browse files Browse the repository at this point in the history
Spring Framework 6.0 changed the default value of
matchOptionalTrailingSeparator from true to false.

Closes gh-30976
  • Loading branch information
sbrannen committed Aug 2, 2023
1 parent 3ff81a4 commit 9ba5622
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,12 @@ public PathPattern parse(String pathPattern) throws PatternParseException {


/**
* Shared, read-only instance of {@code PathPatternParser}. Uses default settings:
* Shared, read-only instance of {@code PathPatternParser}.
* <p>Uses default settings:
* <ul>
* <li>{@code matchOptionalTrailingSeparator=true}
* <li>{@code caseSensitivetrue}
* <li>{@code pathOptions=PathContainer.Options.HTTP_PATH}
* <li>{@code matchOptionalTrailingSeparator = false}
* <li>{@code caseSensitive = true}
* <li>{@code pathOptions = PathContainer.Options.HTTP_PATH}
* </ul>
*/
public final static PathPatternParser defaultInstance = new PathPatternParser() {
Expand Down

0 comments on commit 9ba5622

Please sign in to comment.