There is a wrong assert in the class org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
Instead of checking for the nullity of both of the parameters, the same parameter (annotationMetadata) is asserted twice:
@OverridepublicvoidregisterBeanDefinitions(AnnotationMetadataannotationMetadata, BeanDefinitionRegistryregistry) {
Assert.notNull(annotationMetadata, "AnnotationMetadata must not be null!");
Assert.notNull(annotationMetadata, "BeanDefinitionRegistry must not be null!");
spring-projects-issues commentedDec 19, 2018
fsoleraracil opened DATACMNS-1453 and commented
There is a wrong assert in the class
org.springframework.data.auditing.config.AuditingBeanDefinitionRegistrarSupport
Instead of checking for the nullity of both of the parameters, the same parameter (
annotationMetadata
) is asserted twice:Affects: 2.1.3 (Lovelace SR3)
Referenced from: pull request #328
Backported to: 2.1.4 (Lovelace SR4), 2.0.13 (Kay SR13)
The text was updated successfully, but these errors were encountered: