@ -1224,8 +1224,8 @@ public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFac
@@ -1224,8 +1224,8 @@ public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFac
@ -163,8 +163,8 @@ public class SimpleInstantiationStrategy implements InstantiationStrategy {
@@ -163,8 +163,8 @@ public class SimpleInstantiationStrategy implements InstantiationStrategy {
catch(InvocationTargetExceptionex){
Stringmsg="Factory method '"+factoryMethod.getName()+"' threw exception with message: "+
@ -127,9 +127,9 @@ public class StaticListableBeanFactory implements ListableBeanFactory {
@@ -127,9 +127,9 @@ public class StaticListableBeanFactory implements ListableBeanFactory {
@ -205,8 +205,8 @@ public class StaticListableBeanFactory implements ListableBeanFactory {
@@ -205,8 +205,8 @@ public class StaticListableBeanFactory implements ListableBeanFactory {
// In case of FactoryBean, return singleton status of created object.
if(beaninstanceofFactoryBean){
return((FactoryBean<?>)bean).isSingleton();
if(beaninstanceofFactoryBean<?>factoryBean){
returnfactoryBean.isSingleton();
}
returntrue;
}
@ -215,8 +215,8 @@ public class StaticListableBeanFactory implements ListableBeanFactory {
@@ -215,8 +215,8 @@ public class StaticListableBeanFactory implements ListableBeanFactory {
@ -246,9 +246,9 @@ public class StaticListableBeanFactory implements ListableBeanFactory {
@@ -246,9 +246,9 @@ public class StaticListableBeanFactory implements ListableBeanFactory {
"Defined beans are ["+StringUtils.collectionToCommaDelimitedString(this.beans.keySet())+"]");
// If it's a FactoryBean, we want to look at what it creates, not the factory class.
return((FactoryBean<?>)bean).getObjectType();
returnfactoryBean.getObjectType();
}
returnbean.getClass();
}
@ -408,10 +408,10 @@ public class StaticListableBeanFactory implements ListableBeanFactory {
@@ -408,10 +408,10 @@ public class StaticListableBeanFactory implements ListableBeanFactory {