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 bc706eb  Normalize setter Javadoc
bc706eb is described below

commit bc706eb4461dc3d0ab36482bfe6d42879f9278e7
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Oct 31 07:06:28 2023 -0400

    Normalize setter Javadoc
---
 src/main/java/org/apache/commons/exec/CommandLine.java       | 2 +-
 src/main/java/org/apache/commons/exec/Executor.java          | 8 ++++----
 src/main/java/org/apache/commons/exec/PumpStreamHandler.java | 8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/main/java/org/apache/commons/exec/CommandLine.java 
b/src/main/java/org/apache/commons/exec/CommandLine.java
index 4cc5832..baa63fe 100644
--- a/src/main/java/org/apache/commons/exec/CommandLine.java
+++ b/src/main/java/org/apache/commons/exec/CommandLine.java
@@ -262,7 +262,7 @@ public class CommandLine {
     }
 
     /**
-     * Set the substitutionMap to expand variables in the command line.
+     * Sets the substitutionMap to expand variables in the command line.
      *
      * @param substitutionMap the map
      */
diff --git a/src/main/java/org/apache/commons/exec/Executor.java 
b/src/main/java/org/apache/commons/exec/Executor.java
index 557d3f2..359bd5d 100644
--- a/src/main/java/org/apache/commons/exec/Executor.java
+++ b/src/main/java/org/apache/commons/exec/Executor.java
@@ -95,7 +95,7 @@ public interface Executor {
     ExecuteStreamHandler getStreamHandler();
 
     /**
-     * Set a custom the StreamHandler used for providing
+     * Sets a custom the StreamHandler used for providing
      * input and retrieving the output. If you don't provide
      * a proper stream handler the executed process might block
      * when writing to stdout and/or stderr (see
@@ -114,7 +114,7 @@ public interface Executor {
     ExecuteWatchdog getWatchdog();
 
     /**
-     * Set the watchdog used to kill of processes running,
+     * Sets the watchdog used to kill of processes running,
      * typically, too long time.
      *
      * @param watchDog the watchdog
@@ -122,7 +122,7 @@ public interface Executor {
     void setWatchdog(ExecuteWatchdog watchDog);
 
     /**
-     * Set the handler for cleanup of started processes if the main process
+     * Sets the handler for cleanup of started processes if the main process
      * is going to terminate.
      *
      * @return the ProcessDestroyer
@@ -145,7 +145,7 @@ public interface Executor {
     File getWorkingDirectory();
 
     /**
-     * Set the working directory of the created process. The
+     * Sets the working directory of the created process. The
      * working directory must exist when you start the process.
      *
      * @param dir the working directory
diff --git a/src/main/java/org/apache/commons/exec/PumpStreamHandler.java 
b/src/main/java/org/apache/commons/exec/PumpStreamHandler.java
index 5838934..e37633d 100644
--- a/src/main/java/org/apache/commons/exec/PumpStreamHandler.java
+++ b/src/main/java/org/apache/commons/exec/PumpStreamHandler.java
@@ -93,7 +93,7 @@ public class PumpStreamHandler implements 
ExecuteStreamHandler {
     }
 
     /**
-     * Set maximum time to wait until output streams are exchausted
+     * Sets maximum time to wait until output streams are exchausted
      * when {@link #stop()} was called.
      *
      * @param timeout timeout in milliseconds or zero to wait forever (default)
@@ -103,7 +103,7 @@ public class PumpStreamHandler implements 
ExecuteStreamHandler {
     }
 
     /**
-     * Set the <CODE>InputStream</CODE> from which to read the standard output
+     * Sets the <CODE>InputStream</CODE> from which to read the standard output
      * of the process.
      *
      * @param is the <CODE>InputStream</CODE>.
@@ -116,7 +116,7 @@ public class PumpStreamHandler implements 
ExecuteStreamHandler {
     }
 
     /**
-     * Set the <CODE>InputStream</CODE> from which to read the standard error
+     * Sets the <CODE>InputStream</CODE> from which to read the standard error
      * of the process.
      *
      * @param is the <CODE>InputStream</CODE>.
@@ -129,7 +129,7 @@ public class PumpStreamHandler implements 
ExecuteStreamHandler {
     }
 
     /**
-     * Set the <CODE>OutputStream</CODE> by means of which input can be sent
+     * Sets the <CODE>OutputStream</CODE> by means of which input can be sent
      * to the process.
      *
      * @param os the <CODE>OutputStream</CODE>.

Reply via email to