You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2013/01/02 15:57:12 UTC

svn commit: r1427809 - in /camel/branches/camel-2.10.x: ./ components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfPayloadConverter.java

Author: bvahdat
Date: Wed Jan  2 14:57:12 2013
New Revision: 1427809

URL: http://svn.apache.org/viewvc?rev=1427809&view=rev
Log:
Merged revisions 1427806 via svnmerge from 
https://svn.apache.org/repos/asf/camel/trunk

........
  r1427806 | bvahdat | 2013-01-02 15:54:28 +0100 (Mi, 02 Jan 2013) | 1 line
  
  CAMEL-5877: Fixed the typo in case the value is of the type Source.
........

Modified:
    camel/branches/camel-2.10.x/   (props changed)
    camel/branches/camel-2.10.x/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfPayloadConverter.java

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
  Merged /camel/trunk:r1427806

Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-2.10.x/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfPayloadConverter.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfPayloadConverter.java?rev=1427809&r1=1427808&r2=1427809&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfPayloadConverter.java (original)
+++ camel/branches/camel-2.10.x/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/converter/CxfPayloadConverter.java Wed Jan  2 14:57:12 2013
@@ -126,7 +126,7 @@ public final class CxfPayloadConverter {
                 } else if (value instanceof Node) {
                     src = new DOMSource((Node)value);
                 } else if (value instanceof Source) {
-                    src = (Source)src;
+                    src = (Source)value;
                 }
                 if (src == null) {
                     // assuming staxsource is preferred, otherwise use the one preferred