cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r766100 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
Date Fri, 17 Apr 2009 17:55:23 GMT
Author: dkulp
Date: Fri Apr 17 17:55:23 2009
New Revision: 766100

URL: http://svn.apache.org/viewvc?rev=766100&view=rev
Log:
Fix jaxrs tests

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java?rev=766100&r1=766099&r2=766100&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
Fri Apr 17 17:55:23 2009
@@ -820,7 +820,7 @@
             CastUtils.cast((Map<?, ?>)message.get(Message.PROTOCOL_HEADERS));     
  
         if (null == headers) {
             headers = new LinkedHashMap<String, List<String>>();
-        } else {
+        } else if (headers instanceof HashMap) {
             headers = new LinkedHashMap<String, List<String>>(headers);
         }
         message.put(Message.PROTOCOL_HEADERS, headers);



Mime
View raw message