cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r605421 - /incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsEndpointImpl.java
Date Wed, 19 Dec 2007 04:30:08 GMT
Author: mmao
Date: Tue Dec 18 20:30:07 2007
New Revision: 605421

URL: http://svn.apache.org/viewvc?rev=605421&view=rev
Log:
CXF-1288
  Minor fix


Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsEndpointImpl.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsEndpointImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsEndpointImpl.java?rev=605421&r1=605420&r2=605421&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsEndpointImpl.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsEndpointImpl.java
Tue Dec 18 20:30:07 2007
@@ -81,12 +81,12 @@
     private List<AbstractFeature> features;
     
     public JaxWsEndpointImpl(Bus bus, Service s, EndpointInfo ei) throws EndpointException
{
-        this(bus, s, ei, null, null, new ArrayList<AbstractFeature>(), true);
+        this(bus, s, ei, null, null, null, true);
     }
     
     public JaxWsEndpointImpl(Bus bus, Service s, EndpointInfo ei, 
                              List<WebServiceFeature> wf) throws EndpointException {
-        this(bus, s, ei, null, wf, new ArrayList<AbstractFeature>(), true);
+        this(bus, s, ei, null, wf, null, true);
     }    
 
     public JaxWsEndpointImpl(Bus bus, Service s, EndpointInfo ei, JaxWsImplementorInfo implementorInfo,

@@ -96,6 +96,10 @@
         this.implInfo = implementorInfo;
         this.wsFeatures = wf;
         this.features = af;
+
+        if (features == null) {
+            features = new ArrayList<AbstractFeature>();
+        }
         createJaxwsBinding();
         
         List<Interceptor> in = super.getInInterceptors();       



Mime
View raw message