camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: CAMEL-7209 Fixed the unit test failure of XmlConverterTest
Date Mon, 17 Feb 2014 06:08:10 GMT
Repository: camel
Updated Branches:
  refs/heads/master 2cf59955d -> 5f78c646c


CAMEL-7209 Fixed the unit test failure of XmlConverterTest


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5f78c646
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5f78c646
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5f78c646

Branch: refs/heads/master
Commit: 5f78c646c2b305d5373629a448efc953cd793cd9
Parents: 2cf5995
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Mon Feb 17 14:07:14 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Mon Feb 17 14:07:45 2014 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/converter/NIOConverter.java      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5f78c646/camel-core/src/main/java/org/apache/camel/converter/NIOConverter.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/converter/NIOConverter.java b/camel-core/src/main/java/org/apache/camel/converter/NIOConverter.java
index 9a2b60a..0bf08ac 100644
--- a/camel-core/src/main/java/org/apache/camel/converter/NIOConverter.java
+++ b/camel-core/src/main/java/org/apache/camel/converter/NIOConverter.java
@@ -99,6 +99,7 @@ public final class NIOConverter {
             bytes = value.getBytes();
         }
         buf.put(bytes);
+        buf.flip();
         return buf;
     }
 


Mime
View raw message