This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.x by this push: new 161cdea CAMEL-13132 - Camel-Azure: uploadBlobBlocks and commitBlobBlockList operations does not work with List 161cdea is described below commit 161cdea1c5f2552207bd502bd9612204ddb57449 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Jan 28 10:59:44 2019 +0100 CAMEL-13132 - Camel-Azure: uploadBlobBlocks and commitBlobBlockList operations does not work with List --- .../org/apache/camel/component/azure/blob/BlobServiceProducer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceProducer.java b/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceProducer.java index 8e4f6b8..15254c2 100644 --- a/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceProducer.java +++ b/components/camel-azure/src/main/java/org/apache/camel/component/azure/blob/BlobServiceProducer.java @@ -157,7 +157,7 @@ public class BlobServiceProducer extends DefaultProducer { List<BlobBlock> blobBlocks = null; if (object instanceof List) { - blobBlocks = blobBlocks; + blobBlocks = (List<BlobBlock>) object; } else if (object instanceof BlobBlock) { blobBlocks = Collections.singletonList((BlobBlock)object); } @@ -189,7 +189,7 @@ public class BlobServiceProducer extends DefaultProducer { List<BlockEntry> blockEntries = null; if (object instanceof List) { - blockEntries = blockEntries; + blockEntries = (List<BlockEntry>) object; } else if (object instanceof BlockEntry) { blockEntries = Collections.singletonList((BlockEntry)object); }