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 894d2969 Javadoc 894d2969 is described below commit 894d2969039d4fbbddeb191a03880c960e7cbf82 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu May 23 09:17:30 2024 -0400 Javadoc --- src/main/java/org/apache/commons/exec/DefaultExecutor.java | 6 +++--- src/main/java/org/apache/commons/exec/ExecuteWatchdog.java | 4 ++-- src/main/java/org/apache/commons/exec/Watchdog.java | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/apache/commons/exec/DefaultExecutor.java b/src/main/java/org/apache/commons/exec/DefaultExecutor.java index c94dd2ff..47ab8066 100644 --- a/src/main/java/org/apache/commons/exec/DefaultExecutor.java +++ b/src/main/java/org/apache/commons/exec/DefaultExecutor.java @@ -91,7 +91,7 @@ public class DefaultExecutor implements Executor { * Sets the PumpStreamHandler. * * @param executeStreamHandler the ExecuteStreamHandler, null resets to the default. - * @return this. + * @return {@code this} instance. */ public T setExecuteStreamHandler(final ExecuteStreamHandler executeStreamHandler) { this.executeStreamHandler = executeStreamHandler; @@ -102,7 +102,7 @@ public class DefaultExecutor implements Executor { * Sets the ThreadFactory. * * @param threadFactory the ThreadFactory, null resets to the default. - * @return this. + * @return {@code this} instance. */ public T setThreadFactory(final ThreadFactory threadFactory) { this.threadFactory = threadFactory; @@ -113,7 +113,7 @@ public class DefaultExecutor implements Executor { * Sets the working directory. * * @param workingDirectory the working directory., null resets to the default. - * @return this. + * @return {@code this} instance. */ public T setWorkingDirectory(final File workingDirectory) { this.workingDirectory = workingDirectory; diff --git a/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java b/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java index b902708b..a037d32f 100644 --- a/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java +++ b/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java @@ -75,7 +75,7 @@ public class ExecuteWatchdog implements TimeoutObserver { * Sets the thread factory. * * @param threadFactory the thread factory. - * @return this. + * @return {@code this} instance. */ public Builder setThreadFactory(final ThreadFactory threadFactory) { this.threadFactory = threadFactory; @@ -86,7 +86,7 @@ public class ExecuteWatchdog implements TimeoutObserver { * Sets the timeout duration. * * @param timeout the timeout duration. - * @return this. + * @return {@code this} instance. */ public Builder setTimeout(final Duration timeout) { this.timeout = timeout; diff --git a/src/main/java/org/apache/commons/exec/Watchdog.java b/src/main/java/org/apache/commons/exec/Watchdog.java index 84b854f8..3be77fb5 100644 --- a/src/main/java/org/apache/commons/exec/Watchdog.java +++ b/src/main/java/org/apache/commons/exec/Watchdog.java @@ -53,7 +53,7 @@ public class Watchdog implements Runnable { * Sets the thread factory. * * @param threadFactory the thread factory. - * @return this. + * @return {@code this} instance. */ public Builder setThreadFactory(final ThreadFactory threadFactory) { this.threadFactory = threadFactory; @@ -64,7 +64,7 @@ public class Watchdog implements Runnable { * Sets the timeout duration. * * @param timeout the timeout duration. - * @return this. + * @return {@code this} instance. */ public Builder setTimeout(final Duration timeout) { this.timeout = timeout;