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

SpringDataAnnotationBeanNameGenerator calls BeanNameGenerator without using BeanDefinitionRegistry

    XMLWordPrintable

    Details

      Description

      In SpringDataAnnotationBeanNameGenerator we do this:

       public String generateBeanName(BeanDefinition definition) {
        return delegate.generateBeanName(definition, null);
      }
      

      That "null" is going to lead to a NullPointerException with (for example) DefaultBeanNameGenerator. Can we fix it, do you think?

        Attachments

          Activity

            People

            Assignee:
            mp911de Mark Paluch
            Reporter:
            david_syer Dave Syer
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: