Remove unnecessary @SuppressWarnings

See gh-27807
This commit is contained in:
Yanming Zhou 2021-12-13 16:05:14 +08:00 committed by Stephane Nicoll
parent aa302515a4
commit d836fb4a7a
1 changed files with 0 additions and 1 deletions

View File

@ -182,7 +182,6 @@ class ConfigurationClassBeanDefinitionReader {
* Read the given {@link BeanMethod}, registering bean definitions
* with the BeanDefinitionRegistry based on its contents.
*/
@SuppressWarnings("deprecation") // for RequiredAnnotationBeanPostProcessor.SKIP_REQUIRED_CHECK_ATTRIBUTE
private void loadBeanDefinitionsForBeanMethod(BeanMethod beanMethod) {
ConfigurationClass configClass = beanMethod.getConfigurationClass();
MethodMetadata metadata = beanMethod.getMetadata();