cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1024006 - /cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java
Date Mon, 18 Oct 2010 21:16:46 GMT
Author: dkulp
Date: Mon Oct 18 21:16:45 2010
New Revision: 1024006

URL: http://svn.apache.org/viewvc?rev=1024006&view=rev
Log:
Fix failing tests on java5

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java?rev=1024006&r1=1024005&r2=1024006&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java
Mon Oct 18 21:16:45 2010
@@ -30,14 +30,15 @@ import org.springframework.context.Appli
 public class JAXWS22SpringEndpointImpl extends org.apache.cxf.jaxws22.EndpointImpl
     implements ApplicationContextAware {
 
-    public JAXWS22SpringEndpointImpl(Object implementor) {
-        super((Bus)null, implementor);
+    public JAXWS22SpringEndpointImpl(Object o) {
+        super(o instanceof Bus ? (Bus)o : null,
+              o instanceof Bus ? null : o);
     }
+
     public JAXWS22SpringEndpointImpl(Bus bus, Object implementor) {
         super(bus, implementor);
     }
     
-    
     public void setApplicationContext(ApplicationContext ctx) throws BeansException {
         if (getBus() == null) {
             Bus bus = BusFactory.getThreadDefaultBus();



Mime
View raw message