This is an automated email from the ASF dual-hosted git repository.

garydgregory 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 198fd8f4 Javadoc
198fd8f4 is described below

commit 198fd8f46973a8ec6ee583e91ea280fdabd96dff
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Aug 2 15:40:59 2026 -0400

    Javadoc
---
 src/main/java/org/apache/commons/exec/LogOutputStream.java          | 2 +-
 src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/exec/LogOutputStream.java 
b/src/main/java/org/apache/commons/exec/LogOutputStream.java
index 360af934..59c34816 100644
--- a/src/main/java/org/apache/commons/exec/LogOutputStream.java
+++ b/src/main/java/org/apache/commons/exec/LogOutputStream.java
@@ -159,7 +159,7 @@ public abstract class LogOutputStream extends OutputStream {
      * @param b   The array containing the data.
      * @param off The offset into the array where data starts.
      * @param len The length of block.
-     * @throws IOException if the data cannot be written into the stream.
+     * @throws IOException Thrown if the data cannot be written into the 
stream.
      * @see OutputStream#write(byte[], int, int)
      */
     @Override
diff --git 
a/src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java 
b/src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java
index a229f4ec..83d567f1 100644
--- a/src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java
+++ b/src/main/java/org/apache/commons/exec/launcher/CommandLauncher.java
@@ -37,7 +37,7 @@ public interface CommandLauncher {
      * @param commandLine The command to execute.
      * @param env         The environment for the new process. If null, the 
environment of the current process is used.
      * @return The newly created process.
-     * @throws IOException if attempting to run a command in a specific 
directory.
+     * @throws IOException Thrown if attempting to run a command in a specific 
directory.
      */
     Process exec(CommandLine commandLine, Map<String, String> env) throws 
IOException;
 
@@ -48,7 +48,7 @@ public interface CommandLauncher {
      * @param env              The environment for the new process. If null, 
the environment of the current process is used.
      * @param workingDirectory The directory to start the command in. If null, 
the current directory is used.
      * @return The newly created process.
-     * @throws IOException if trying to change directory.
+     * @throws IOException Thrown if trying to change directory.
      */
     Process exec(CommandLine commandLine, Map<String, String> env, File 
workingDirectory) throws IOException;
 
@@ -59,7 +59,7 @@ public interface CommandLauncher {
      * @param env              The environment for the new process. If null, 
the environment of the current process is used.
      * @param workingDirectory The directory to start the command in. If null, 
the current directory is used.
      * @return The newly created process.
-     * @throws IOException if trying to change directory.
+     * @throws IOException Thrown if trying to change directory.
      * @since 1.5.0
      */
     default Process exec(final CommandLine commandLine, final Map<String, 
String> env, final Path workingDirectory) throws IOException {

Reply via email to