Update Javadoc since type-level @Controller is now required

See gh-22154 which removed support for a type-level @RequestMapping
annotation alone being sufficient for handler detection.

Closes gh-28448
This commit is contained in:
Andy Wilkinson 2022-05-11 14:13:59 +01:00 committed by Sam Brannen
parent 6c8de96992
commit 1d825440c3
1 changed files with 1 additions and 2 deletions

View File

@ -261,8 +261,7 @@ public class RequestMappingHandlerMapping extends RequestMappingInfoHandlerMappi
/**
* {@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) {