This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-exec.git
The following commit(s) were added to refs/heads/master by this push: new c316add Fix formatting c316add is described below commit c316add53df85dc955b52a3e9923a600ef82a6b8 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Aug 22 11:01:21 2023 -0400 Fix formatting --- src/main/java/org/apache/commons/exec/DefaultExecutor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/exec/DefaultExecutor.java b/src/main/java/org/apache/commons/exec/DefaultExecutor.java index 591ddb2..251ddf3 100644 --- a/src/main/java/org/apache/commons/exec/DefaultExecutor.java +++ b/src/main/java/org/apache/commons/exec/DefaultExecutor.java @@ -343,7 +343,7 @@ public class DefaultExecutor implements Executor { process = this.launch(command, environment, dir); } catch (final IOException e) { - if(watchdog != null) { + if (watchdog != null) { watchdog.failedToStart(e); } throw e; @@ -355,7 +355,7 @@ public class DefaultExecutor implements Executor { streams.setProcessErrorStream(process.getErrorStream()); } catch (final IOException e) { process.destroy(); - if(watchdog != null) { + if (watchdog != null) { watchdog.failedToStart(e); } throw e;