You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by mm...@apache.org on 2007/12/19 05:30:08 UTC
svn commit: r605421 -
/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsEndpointImpl.java
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();