You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/03/08 11:32:38 UTC

[camel] 11/14: CAMEL-15520: fixed deprecations in camel-azure-storage-blob

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 23c86aeb1b71c4bea78ac4264b090bfede693645
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Mar 8 10:35:15 2022 +0100

    CAMEL-15520: fixed deprecations in camel-azure-storage-blob
---
 .../component/azure/storage/blob/operations/BlobOperationsTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/operations/BlobOperationsTest.java b/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/operations/BlobOperationsTest.java
index 38ecc16..801ae39 100644
--- a/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/operations/BlobOperationsTest.java
+++ b/components/camel-azure/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/operations/BlobOperationsTest.java
@@ -107,7 +107,7 @@ class BlobOperationsTest extends CamelTestSupport {
         // third: test with exchange provided but with outputstream set
         // mocking
         final ResponseBase<BlobDownloadHeaders, Void> mockedResults2 = new ResponseBase<>(
-                null, 200, new HttpHeaders().put("x-test-header", "123"), null, new BlobDownloadHeaders().setETag("tag1"));
+                null, 200, new HttpHeaders().set("x-test-header", "123"), null, new BlobDownloadHeaders().setETag("tag1"));
         when(client.downloadWithResponse(any(), any(), any(), any(), anyBoolean(), any())).thenReturn(mockedResults2);
         exchange.getIn().setBody(new ByteArrayOutputStream());