This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch aws-sdk-2.20.140 in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0a315d7f6b95e0d44718fe3dcd6fa144f71b6265 Author: Andrea Cosentino <[email protected]> AuthorDate: Mon Sep 4 06:40:21 2023 +0200 Regen Signed-off-by: Andrea Cosentino <[email protected]> --- .../java/org/apache/camel/component/file/azure/FilesOperations.java | 2 +- .../src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java | 2 -- .../main/java/org/apache/camel/component/jpa/TransactionStrategy.java | 2 +- .../src/test/java/org/apache/camel/processor/ConvertBodyTest.java | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesOperations.java b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesOperations.java index da39a382ea9..8cd7874b879 100644 --- a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesOperations.java +++ b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesOperations.java @@ -181,7 +181,7 @@ public class FilesOperations extends NormalizedOperations { } private boolean renameRemote(ShareFileClient fileClient, String shareRelativeTo) { - // TODO set the replace flag? likely yes, callers strategy should avoid this call when otherwise + // TODO set the replace flag? likely yes, callers strategy should avoid this call when otherwise var options = new ShareFileRenameOptions(shareRelativeTo); var renamed = fileClient.renameWithResponse(options, endpoint.getMetadataTimeout(), Context.NONE).getValue(); return existsRemote(renamed); diff --git a/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java b/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java index d6d1e1a55da..9eface3e43b 100644 --- a/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java +++ b/components/camel-dhis2/camel-dhis2-component/src/test/java/org/apache/camel/component/dhis2/Dhis2GetIT.java @@ -32,10 +32,8 @@ import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.assertTrue; /** * Test class for {@link org.apache.camel.component.dhis2.api.Dhis2Get} APIs. diff --git a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/TransactionStrategy.java b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/TransactionStrategy.java index 3a6255ccba5..39cd30d33f7 100644 --- a/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/TransactionStrategy.java +++ b/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/TransactionStrategy.java @@ -24,7 +24,7 @@ public interface TransactionStrategy { /** * Execute the work in transaction. * - * @param runnable the work to execute. + * @param runnable the work to execute. */ void executeInTransaction(Runnable runnable); } diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/ConvertBodyTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/ConvertBodyTest.java index 00cbc270294..2ccfe20e3cc 100644 --- a/core/camel-core/src/test/java/org/apache/camel/processor/ConvertBodyTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/processor/ConvertBodyTest.java @@ -19,7 +19,6 @@ package org.apache.camel.processor; import java.io.ByteArrayInputStream; import java.nio.charset.UnsupportedCharsetException; import java.util.Date; -import java.util.Locale; import org.apache.camel.ContextTestSupport; import org.apache.camel.Exchange;
