Skip to content

Commit 507cf8a

Browse files
committed
Make method in RequestMappingHandlerMapping protected
Issue: SPR-10950
1 parent 7500cae commit 507cf8a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,9 @@ protected RequestCondition<?> getCustomMethodCondition(Method method) {
236236
/**
237237
* Created a RequestMappingInfo from a RequestMapping annotation.
238238
*/
239-
private RequestMappingInfo createRequestMappingInfo(RequestMapping annotation, RequestCondition<?> customCondition) {
239+
protected RequestMappingInfo createRequestMappingInfo(RequestMapping annotation,
240+
RequestCondition<?> customCondition) {
241+
240242
String[] patterns = resolveEmbeddedValuesInPatterns(annotation.value());
241243
return new RequestMappingInfo(
242244
new PatternsRequestCondition(patterns, getUrlPathHelper(), getPathMatcher(),

0 commit comments

Comments
 (0)