Skip to content

Commit c605a6e

Browse files
committed
Override other variant of registerBeanDefintions
Fixes gh-22480
1 parent f625d8e commit c605a6e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/AbstractRepositoryConfigurationSourceSupport.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -62,6 +62,11 @@ public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, B
6262
delegate.registerRepositoriesIn(registry, getRepositoryConfigurationExtension());
6363
}
6464

65+
@Override
66+
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) {
67+
registerBeanDefinitions(importingClassMetadata, registry, null);
68+
}
69+
6570
private AnnotationRepositoryConfigurationSource getConfigurationSource(BeanDefinitionRegistry registry,
6671
BeanNameGenerator importBeanNameGenerator) {
6772
AnnotationMetadata metadata = AnnotationMetadata.introspect(getConfiguration());

0 commit comments

Comments
 (0)