You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2015/10/30 09:22:17 UTC
[2/4] struts git commit: WW-4554 Drops duplicated calls to initialize
BeanPostProcessors It's already done by Spring
WW-4554 Drops duplicated calls to initialize BeanPostProcessors
It's already done by Spring
(cherry picked from commit 7848534e2f2a8cf4aa956d27b6cf672f36cfacfe)
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/ba361aad
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/ba361aad
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/ba361aad
Branch: refs/heads/master
Commit: ba361aad36528d5eb2e5ea745227e83a469024a0
Parents: 5bf1b62
Author: Lukasz Lenart <lu...@apache.org>
Authored: Tue Oct 27 09:09:46 2015 +0100
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Tue Oct 27 09:09:46 2015 +0100
----------------------------------------------------------------------
.../java/com/opensymphony/xwork2/spring/SpringObjectFactory.java | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/ba361aad/core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java b/core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java
index 40e4b32..ebe08c2 100644
--- a/core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java
+++ b/core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java
@@ -190,9 +190,7 @@ public class SpringObjectFactory extends ObjectFactory implements ApplicationCon
return bean;
} else {
bean = autoWiringFactory.autowire(clazz, AutowireCapableBeanFactory.AUTOWIRE_CONSTRUCTOR, false);
- bean = autoWiringFactory.applyBeanPostProcessorsBeforeInitialization(bean, bean.getClass().getName());
bean = autoWiringFactory.initializeBean(bean, bean.getClass().getName());
- bean = autoWiringFactory.applyBeanPostProcessorsAfterInitialization(bean, bean.getClass().getName());
return autoWireBean(bean, autoWiringFactory);
}
} catch (UnsatisfiedDependencyException e) {