You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/01/15 13:04:47 UTC

[commons-exec] branch master updated: Fix typos

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 2a97aa4  Fix typos
2a97aa4 is described below

commit 2a97aa4f3d8ba00acf8497ec4c81886807880184
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jan 15 08:04:43 2023 -0500

    Fix typos
---
 RELEASE-NOTES.txt                                                       | 2 +-
 src/changes/changes.xml                                                 | 2 +-
 src/main/java/org/apache/commons/exec/PumpStreamHandler.java            | 2 +-
 src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java | 2 +-
 src/site/fml/faq.fml                                                    | 2 +-
 src/test/java/org/apache/commons/exec/TutorialTest.java                 | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index babe699..23c606c 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -55,7 +55,7 @@ o Issue: EXEC-68.
   
 o Issue: EXEC-57. 
   Applied the patch from Nickolay Martinov but the timeout disguises the fact that the process might be still running.
-  Therefore added a sanity check in order to throw an exception if the the timeout for join() was exceeded. 
+  Therefore added a sanity check in order to throw an exception if the timeout for join() was exceeded. 
   Thanks to Nickolay Martinov.
    
 o Issue: EXEC-60. 
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 09e7606..faf01d2 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -103,7 +103,7 @@
             <action issue="EXEC-57" dev="sgoeschl" type="fix" date="2011-10-10"  due-to="Nickolay Martinov">
                 Applied the patch from Nickolay Martinov but the timeout disguises the fact
                 that the process might be still running. Therefore added a sanity check in
-                order to throw an exception if the the timeout for join() was exceeded.
+                order to throw an exception if the timeout for join() was exceeded.
             </action>
             <action issue="EXEC-60" dev="sgoeschl" type="fix" date="2011-10-09"  due-to="Peter Kofler">
                 Fixed deadlock by calling the timeout observers outside of the synchronized block thereby
diff --git a/src/main/java/org/apache/commons/exec/PumpStreamHandler.java b/src/main/java/org/apache/commons/exec/PumpStreamHandler.java
index e0281c1..7521362 100644
--- a/src/main/java/org/apache/commons/exec/PumpStreamHandler.java
+++ b/src/main/java/org/apache/commons/exec/PumpStreamHandler.java
@@ -171,7 +171,7 @@ public class PumpStreamHandler implements ExecuteStreamHandler {
     }
 
     /**
-     * Stop pumping the streams. When a timeout is specified it it is not guaranteed that the
+     * Stop pumping the streams. When a timeout is specified it is not guaranteed that the
      * pumper threads are cleanly terminated.
      */
     @Override
diff --git a/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java b/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java
index 5e6dc6e..d32382e 100644
--- a/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java
+++ b/src/main/java/org/apache/commons/exec/ShutdownHookProcessDestroyer.java
@@ -102,7 +102,7 @@ public class ShutdownHookProcessDestroyer implements ProcessDestroyer, Runnable
     }
 
     /**
-     * Returns whether or not the ProcessDestroyer is registered as as shutdown hook
+     * Returns whether or not the ProcessDestroyer is registered as shutdown hook
      *
      * @return true if this is currently added as shutdown hook
      */
diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml
index e4c5003..10d1560 100644
--- a/src/site/fml/faq.fml
+++ b/src/site/fml/faq.fml
@@ -77,7 +77,7 @@ under the License.
         <p> Please check if the shell scripts under "./src/test/script" are executable - assuming 
           that they are not executable the "testExecute*" and "testExecuteAsync*" test will 
           fail. We try very hard to keep the executable bit but they have somehow the tendency 
-          to to be lost ... 
+          to be lost ... 
         </p>
       </answer>
     </faq>
diff --git a/src/test/java/org/apache/commons/exec/TutorialTest.java b/src/test/java/org/apache/commons/exec/TutorialTest.java
index c3db4e3..537187f 100644
--- a/src/test/java/org/apache/commons/exec/TutorialTest.java
+++ b/src/test/java/org/apache/commons/exec/TutorialTest.java
@@ -28,7 +28,7 @@ import java.util.Map;
 import org.junit.Test;
 
 /**
- * An example based on the tutorial where the user can can safely play with
+ * An example based on the tutorial where the user can safely play with
  * <ul>
  *  <li>blocking or non-blocking print jobs
  *  <li>with print job timeouts to trigger the {@code ExecuteWatchdog}