cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r595731 - in /incubator/cxf/trunk/rt/frontend: jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java simple/src/main/java/org/apache/cxf/frontend/ClientProxyFactoryBean.java
Date Fri, 16 Nov 2007 16:41:27 GMT
Author: dkulp
Date: Fri Nov 16 08:41:27 2007
New Revision: 595731

URL: http://svn.apache.org/viewvc?rev=595731&view=rev
Log:
Very minor optimization to prevent creation of objects that are immediately discarded

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java
    incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientProxyFactoryBean.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java?rev=595731&r1=595730&r2=595731&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsProxyFactoryBean.java
Fri Nov 16 08:41:27 2007
@@ -27,8 +27,7 @@
 
 public class JaxWsProxyFactoryBean extends ClientProxyFactoryBean {
     public JaxWsProxyFactoryBean() {
-        super();
-        setClientFactoryBean(new JaxWsClientFactoryBean());
+        super(new JaxWsClientFactoryBean());
     }
 
     @Override

Modified: incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientProxyFactoryBean.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientProxyFactoryBean.java?rev=595731&r1=595730&r2=595731&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientProxyFactoryBean.java
(original)
+++ incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientProxyFactoryBean.java
Fri Nov 16 08:41:27 2007
@@ -59,8 +59,11 @@
     private DataBinding dataBinding;
     
     public ClientProxyFactoryBean() {
+        this(new ClientFactoryBean());
+    }
+    public ClientProxyFactoryBean(ClientFactoryBean fact) {
         super();
-        this.clientFactoryBean = new ClientFactoryBean();
+        this.clientFactoryBean = fact;
     }
 
     public Object create() {



Mime
View raw message