This is an automated email from the ASF dual-hosted git repository.
davsclaus 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 d16b83727c7 Regen for commit 708701eb6327df34e087755fd8e1fefb58ab459d
(#7525)
d16b83727c7 is described below
commit d16b83727c79b863c3b62f4ac647ddf1cab5d6ce
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Apr 29 06:11:33 2022 +0200
Regen for commit 708701eb6327df34e087755fd8e1fefb58ab459d (#7525)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: davsclaus <[email protected]>
---
.../src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
index 7ef863639ed..4408b813f15 100644
---
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
+++
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
@@ -18,7 +18,6 @@ package org.apache.camel.dsl.jbang.core.commands;
import java.io.File;
import java.io.FileInputStream;
-import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
@@ -64,7 +63,8 @@ class Run implements Callable<Integer> {
private File lockFile;
private ScheduledExecutorService executor;
- @Parameters(description = "The Camel file(s) to run. If no files specified
then application.properties is used as source for which files to run.", arity =
"0..9")
+ @Parameters(description = "The Camel file(s) to run. If no files specified
then application.properties is used as source for which files to run.",
+ arity = "0..9")
private String[] files;
//CHECKSTYLE:OFF
@@ -217,7 +217,6 @@ class Run implements Callable<Integer> {
return line;
}
-
private int run() throws Exception {
File work = new File(WORK_DIR);
FileUtil.removeDir(work);