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:
parent
6c8de96992
commit
1d825440c3
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue