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 <[email protected]> Authored: Mon Feb 17 14:07:14 2014 +0800 Committer: Willem Jiang <[email protected]> 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; }
