Skip to content

Commit

Permalink
Update javadoc as type-level @controller is now required
Browse files Browse the repository at this point in the history
See spring-projectsgh-22154 which removed support for a type-level @RequestMapping
annotation alone being sufficient for handler detection.
  • Loading branch information
wilkinsona committed May 11, 2022
1 parent e6c0152 commit b0fc461
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -261,8 +261,7 @@ public RequestMappingInfo.BuilderConfiguration getBuilderConfiguration() {

/**
* {@inheritDoc}
* <p>Expects a handler to have either a type-level @{@link Controller}
* annotation or a type-level @{@link RequestMapping} annotation.
* <p>Expects a handler to have a type-level @{@link Controller} annotation.
*/
@Override
protected boolean isHandler(Class<?> beanType) {
Expand Down

0 comments on commit b0fc461

Please sign in to comment.