cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1027269 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java
Date Mon, 25 Oct 2010 21:08:00 GMT
Author: dkulp
Date: Mon Oct 25 21:07:59 2010
New Revision: 1027269

URL: http://svn.apache.org/viewvc?rev=1027269&view=rev
Log:
[CXF-2992] More fixes for thread safety around the response context

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java?rev=1027269&r1=1027268&r2=1027269&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/endpoint/ClientImpl.java Mon Oct 25 21:07:59
2010
@@ -411,7 +411,7 @@ public class ClientImpl
             Endpoint endpoint = getEndpoint();
             if (context == null) {
                 context = new HashMap<String, Object>();
-                Map<String, Object> resp = getResponseContext();
+                Map<String, Object> resp = new HashMap<String, Object>();
                 resp.clear();
                 Map<String, Object> reqContext = new HashMap<String, Object>(getRequestContext());
                 context.put(RESPONSE_CONTEXT, resp);



Mime
View raw message