struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [2/3] struts git commit: WW-4554 Drops duplicated calls to initialize BeanPostProcessors It's already done by Spring
Date Tue, 27 Oct 2015 08:01:22 GMT
WW-4554 Drops duplicated calls to initialize BeanPostProcessors
 It's already done by Spring


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/7848534e
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/7848534e
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/7848534e

Branch: refs/heads/support-2-3
Commit: 7848534e2f2a8cf4aa956d27b6cf672f36cfacfe
Parents: c708876
Author: Lukasz Lenart <lukasz.lenart@gmail.com>
Authored: Tue Oct 27 08:27:25 2015 +0100
Committer: Lukasz Lenart <lukasz.lenart@gmail.com>
Committed: Tue Oct 27 08:27:25 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/7848534e/xwork-core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java
----------------------------------------------------------------------
diff --git a/xwork-core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java
b/xwork-core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java
index 56f6b53..c05d635 100644
--- a/xwork-core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java
+++ b/xwork-core/src/main/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java
@@ -192,9 +192,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