This commit is contained in:
Phillip Webb
2016-06-24 11:52:43 -07:00
parent 0d207d438a
commit c22a0e90a2
2 changed files with 2 additions and 4 deletions

View File

@@ -69,8 +69,6 @@ public abstract class AutoConfigurationPackages {
* @throws IllegalStateException if auto-configuration is not enabled
*/
public static List<String> get(BeanFactory beanFactory) {
// Currently we only store a single base package, but we return a list to
// allow this to change in the future if needed
try {
return beanFactory.getBean(BEAN, BasePackages.class).get();
}