From 9ba5622efd0d7d1774adeec90c1a505fc7e63db1 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 2 Aug 2023 10:35:00 +0300 Subject: [PATCH] Update outdated Javadoc for PathPatternParser.defaultInstance Spring Framework 6.0 changed the default value of matchOptionalTrailingSeparator from true to false. Closes gh-30976 --- .../web/util/pattern/PathPatternParser.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 b4d90bd20030..5e177a1a39fe 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 @@ -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}. + *

Uses default settings: *

*/ public final static PathPatternParser defaultInstance = new PathPatternParser() {