Skip to content

Commit

Permalink
Polish PathPatternParser
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Aug 2, 2023
1 parent dcec61a commit 3ff81a4
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
* <p>If set to {@code true} a {@code PathPattern} without a trailing slash
* will also match request paths with a trailing slash. If set to
Expand All @@ -70,7 +70,7 @@ public boolean isMatchOptionalTrailingSeparator() {
}

/**
* Whether path pattern matching should be case-sensitive.
* Configure whether path pattern matching should be case-sensitive.
* <p>The default is {@code true}.
*/
public void setCaseSensitive(boolean caseSensitive) {
Expand All @@ -96,7 +96,7 @@ public void setPathOptions(PathContainer.Options pathOptions) {
}

/**
* Return the {@link #setPathOptions configured} pattern parsing options.
* Get the {@link #setPathOptions configured} pattern parsing options.
* @since 5.2
*/
public PathContainer.Options getPathOptions() {
Expand Down Expand Up @@ -160,5 +160,7 @@ private void raiseError() {
throw new UnsupportedOperationException(
"This is a read-only, shared instance that cannot be modified");
}

};

}

0 comments on commit 3ff81a4

Please sign in to comment.