Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1453

Wrong assertion in AuditingBeanDefinitionRegistrarSupport

    Details

      Description

      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:

      @Override
      public void registerBeanDefinitions(AnnotationMetadata annotationMetadata, BeanDefinitionRegistry registry) {
      
       Assert.notNull(annotationMetadata, "AnnotationMetadata must not be null!");
       Assert.notNull(annotationMetadata, "BeanDefinitionRegistry must not be null!");
      

        Attachments

          Activity

            People

            • Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              fsoleraracil fsoleraracil
              Last updater:
              Mark Paluch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: