You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/10/16 22:58:45 UTC

svn commit: r826085 - /cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientFactoryBean.java

Author: dkulp
Date: Fri Oct 16 20:58:45 2009
New Revision: 826085

URL: http://svn.apache.org/viewvc?rev=826085&view=rev
Log:
Fix pmd issue

Modified:
    cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientFactoryBean.java

Modified: cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientFactoryBean.java?rev=826085&r1=826084&r2=826085&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientFactoryBean.java (original)
+++ cxf/branches/2.2.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ClientFactoryBean.java Fri Oct 16 20:58:45 2009
@@ -62,8 +62,7 @@
     }
 
     protected Client createClient(Endpoint ep) {
-        Client client = new ClientImpl(getBus(), ep, getConduitSelector());
-        return client;
+        return new ClientImpl(getBus(), ep, getConduitSelector());
     }
 
     protected void applyFeatures(Client client) {