Merge pull request #27807 from quaff

* pr/27807:
  Remove unnecessary @SuppressWarnings

Closes gh-27807
This commit is contained in:
Stephane Nicoll 2021-12-13 09:37:14 +01:00
commit e822be5a75
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();