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 2023/06/13 13:32:17 UTC
[camel] branch main updated: Regen for commit 0238a482d1d85c97f7db2de935b397cd746636fb
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
The following commit(s) were added to refs/heads/main by this push:
new 68da1b3a840 Regen for commit 0238a482d1d85c97f7db2de935b397cd746636fb
68da1b3a840 is described below
commit 68da1b3a8403277ec57a161437eb1e544463f0f6
Author: davsclaus <da...@users.noreply.github.com>
AuthorDate: Tue Jun 13 13:28:49 2023 +0000
Regen for commit 0238a482d1d85c97f7db2de935b397cd746636fb
Signed-off-by: GitHub <no...@github.com>
---
.../camel/component/file/FileProducerFileBodyGetsMovedTest.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileBodyGetsMovedTest.java b/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileBodyGetsMovedTest.java
index 16e19597f1c..b1c27c6537a 100644
--- a/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileBodyGetsMovedTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileBodyGetsMovedTest.java
@@ -38,7 +38,8 @@ public class FileProducerFileBodyGetsMovedTest extends ContextTestSupport {
mock.expectedMessageCount(1);
File temporaryFile = File.createTempFile("camel", "test");
- template.requestBodyAndHeader("direct:in", temporaryFile, Exchange.FILE_LOCAL_WORK_PATH, temporaryFile.getAbsolutePath());
+ template.requestBodyAndHeader("direct:in", temporaryFile, Exchange.FILE_LOCAL_WORK_PATH,
+ temporaryFile.getAbsolutePath());
mock.assertIsSatisfied();
assertFalse(temporaryFile.exists(), "Temporary body file should have been moved, not copied");
@@ -53,7 +54,8 @@ public class FileProducerFileBodyGetsMovedTest extends ContextTestSupport {
GenericFile<File> body = new GenericFile<>();
body.setFile(temporaryFile);
- template.requestBodyAndHeader("direct:in", temporaryFile, Exchange.FILE_LOCAL_WORK_PATH, temporaryFile.getAbsolutePath());
+ template.requestBodyAndHeader("direct:in", temporaryFile, Exchange.FILE_LOCAL_WORK_PATH,
+ temporaryFile.getAbsolutePath());
mock.assertIsSatisfied();
assertFalse(temporaryFile.exists(), "Temporary body file should have been moved, not copied");