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

[camel] 01/03: CAMEL-17763: cleaned up unused exceptions in camel-azure-storage-datalake

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

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

commit 3d88a62ec1afaeee9e96d4fb7c0904c1ff9cc1fc
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Wed Mar 9 10:38:49 2022 +0100

    CAMEL-17763: cleaned up unused exceptions in camel-azure-storage-datalake
---
 .../storage/datalake/operations/DataLakeDirectoryOperationTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/operations/DataLakeDirectoryOperationTest.java b/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/operations/DataLakeDirectoryOperationTest.java
index fe5f527..2168431 100644
--- a/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/operations/DataLakeDirectoryOperationTest.java
+++ b/components/camel-azure/camel-azure-storage-datalake/src/test/java/org/apache/camel/component/azure/storage/datalake/operations/DataLakeDirectoryOperationTest.java
@@ -67,7 +67,7 @@ public class DataLakeDirectoryOperationTest extends CamelTestSupport {
     @Test
     void testDeleteDirectory() {
         final HttpHeaders httpHeaders = new HttpHeaders();
-        httpHeaders.put("x-ms-request-id", "12345");
+        httpHeaders.set("x-ms-request-id", "12345");
         when(client.deleteWithResponse(any(), any(), any()))
                 .thenReturn(new ResponseBase<>(null, 200, httpHeaders, null, null));