Consistent use of ClassUtils.toClassArray (and related polishing)
This commit is contained in:
@@ -1742,7 +1742,7 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto
|
||||
if (targetType != null && targetType != obj.getClass()) {
|
||||
sources.add(targetType);
|
||||
}
|
||||
return sources.toArray(new Object[sources.size()]);
|
||||
return sources.toArray();
|
||||
}
|
||||
|
||||
private RootBeanDefinition getRootBeanDefinition(String beanName) {
|
||||
|
||||
Reference in New Issue
Block a user