Skip to content

Commit

Permalink
MatchableHandlerMapping is backwards compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoyanchev committed Jun 19, 2020
1 parent 7391f9b commit b1da893
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public interface MatchableHandlerMapping extends HandlerMapping {
* @since 5.3
*/
@Nullable
PathPatternParser getPatternParser();
default PathPatternParser getPatternParser() {
return null;
}

/**
* Determine whether the request matches the given pattern. Use this method
Expand Down

0 comments on commit b1da893

Please sign in to comment.