cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1462185 - /cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
Date Thu, 28 Mar 2013 16:09:38 GMT
Author: dkulp
Date: Thu Mar 28 16:09:38 2013
New Revision: 1462185

URL: http://svn.apache.org/r1462185
Log:
Merged revisions 1458783 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.6.x-fixes

........
  r1458783 | ningjiang | 2013-03-20 08:16:32 -0400 (Wed, 20 Mar 2013) | 16 lines

  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.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java

Modified: cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java?rev=1462185&r1=1462184&r2=1462185&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
(original)
+++ cxf/branches/2.5.x-fixes/rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java
Thu Mar 28 16:09:38 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