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 4bd2cb53 Javadoc
4bd2cb53 is described below

commit 4bd2cb531e58f099eb53a6c3bb40d8506934de9a
Author: Gary Gregory <[email protected]>
AuthorDate: Thu Dec 14 13:53:03 2023 -0500

    Javadoc
---
 src/main/java/org/apache/commons/exec/DefaultExecutor.java   | 10 +++++-----
 src/main/java/org/apache/commons/exec/InputStreamPumper.java |  2 +-
 src/main/java/org/apache/commons/exec/StreamPumper.java      |  4 ++--
 src/test/java/org/apache/commons/exec/TutorialTest.java      |  2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/main/java/org/apache/commons/exec/DefaultExecutor.java 
b/src/main/java/org/apache/commons/exec/DefaultExecutor.java
index f01cc8a9..b19966ef 100644
--- a/src/main/java/org/apache/commons/exec/DefaultExecutor.java
+++ b/src/main/java/org/apache/commons/exec/DefaultExecutor.java
@@ -44,25 +44,25 @@ import java.util.Map;
  */
 public class DefaultExecutor implements Executor {
 
-    /** taking care of output and error stream */
+    /** Taking care of output and error stream */
     private ExecuteStreamHandler streamHandler;
 
     /** The working directory of the process */
     private File workingDirectory;
 
-    /** monitoring of long running processes */
+    /** Monitoring of long running processes */
     private ExecuteWatchdog watchdog;
 
     /** The exit values considered to be successful */
     private int[] exitValues;
 
-    /** launches the command in a new process */
+    /** Launches the command in a new process */
     private final CommandLauncher launcher;
 
-    /** optional cleanup of started processes */
+    /** Optional cleanup of started processes */
     private ProcessDestroyer processDestroyer;
 
-    /** worker thread for asynchronous execution */
+    /** Worker thread for asynchronous execution */
     private Thread executorThread;
 
     /** The first exception being caught to be thrown to the caller */
diff --git a/src/main/java/org/apache/commons/exec/InputStreamPumper.java 
b/src/main/java/org/apache/commons/exec/InputStreamPumper.java
index 397442aa..94a81af1 100644
--- a/src/main/java/org/apache/commons/exec/InputStreamPumper.java
+++ b/src/main/java/org/apache/commons/exec/InputStreamPumper.java
@@ -35,7 +35,7 @@ public class InputStreamPumper implements Runnable {
     /** The output stream to pmp into */
     private final OutputStream os;
 
-    /** flag to stop the stream pumping */
+    /** Flag to stop the stream pumping */
     private volatile boolean stop;
 
     /**
diff --git a/src/main/java/org/apache/commons/exec/StreamPumper.java 
b/src/main/java/org/apache/commons/exec/StreamPumper.java
index bf29ed75..64aa2275 100644
--- a/src/main/java/org/apache/commons/exec/StreamPumper.java
+++ b/src/main/java/org/apache/commons/exec/StreamPumper.java
@@ -40,10 +40,10 @@ public class StreamPumper implements Runnable {
     /** The size of the internal buffer for copying the streams */
     private final int size;
 
-    /** was the end of the stream reached */
+    /** Was the end of the stream reached */
     private boolean finished;
 
-    /** close the output stream when exhausted */
+    /** Close the output stream when exhausted */
     private final boolean closeWhenExhausted;
 
     /**
diff --git a/src/test/java/org/apache/commons/exec/TutorialTest.java 
b/src/test/java/org/apache/commons/exec/TutorialTest.java
index d20fd540..4f83f71a 100644
--- a/src/test/java/org/apache/commons/exec/TutorialTest.java
+++ b/src/test/java/org/apache/commons/exec/TutorialTest.java
@@ -68,7 +68,7 @@ public class TutorialTest {
     /** The directory to pick up the test scripts */
     private final File testDir = new File("src/test/scripts");
 
-    /** simulates a PDF print job */
+    /** Simulates a PDF print job */
     private final File acroRd32Script = TestUtil.resolveScriptForOS(testDir + 
"/acrord32");
 
     /**

Reply via email to