struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [2/4] struts git commit: WW-4554 Drops duplicated calls to initialize BeanPostProcessors It's already done by Spring
Date Fri, 30 Oct 2015 08:22:17 GMT
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 <lukaszlenart@apache.org>
Authored: Tue Oct 27 09:09:46 2015 +0100
Committer: Lukasz Lenart <lukaszlenart@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) {


Mime
View raw message