cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1458783 - in /cxf/branches/2.6.x-fixes: ./ rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
Date Wed, 20 Mar 2013 12:16:33 GMT
Author: ningjiang
Date: Wed Mar 20 12:16:32 2013
New Revision: 1458783

URL: http://svn.apache.org/r1458783
Log:
Merged revisions 1458781 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/branches/2.7.x-fixes

................
  r1458781 | ningjiang | 2013-03-20 20:12:58 +0800 (Wed, 20 Mar 2013) | 9 lines
  
  Merged revisions 1458773 via svnmerge from 
  https://svn.apache.org/repos/asf/cxf/trunk
  
  ........
    r1458773 | ningjiang | 2013-03-20 19:42:05 +0800 (Wed, 20 Mar 2013) | 1 line
    
    CXF-4906 fixed the typo with thanks to Aki
  ........
................

Modified:
    cxf/branches/2.6.x-fixes/   (props changed)
    cxf/branches/2.6.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java

Propchange: cxf/branches/2.6.x-fixes/
------------------------------------------------------------------------------
  Merged /cxf/branches/2.7.x-fixes:r1458781
  Merged /cxf/trunk:r1458773

Propchange: cxf/branches/2.6.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.6.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java?rev=1458783&r1=1458782&r2=1458783&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
(original)
+++ cxf/branches/2.6.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
Wed Mar 20 12:16:32 2013
@@ -312,7 +312,7 @@ public class Headers {
             }
         }
         // make sure we don't add more than one User-Agent header
-        if (connection.getRequestProperty("User-Agent") != null) {
+        if (connection.getRequestProperty("User-Agent") == null) {
             connection.addRequestProperty("User-Agent", Version.getCompleteVersionString());
         }
     }



Mime
View raw message