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/12/29 20:43:36 UTC

(commons-exec) branch master updated: Javadoc spelling

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 b97ea732 Javadoc spelling
b97ea732 is described below

commit b97ea732d4264f3de368b2991eb6c23c0305a825
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 29 15:43:32 2023 -0500

    Javadoc spelling
---
 .../apache/commons/exec/environment/DefaultProcessingEnvironment.java | 2 +-
 src/test/java/org/apache/commons/exec/issues/Exec57Test.java          | 4 ++--
 src/test/java/org/apache/commons/exec/issues/Exec62Test.java          | 2 +-
 src/test/java/org/apache/commons/exec/issues/Exec65Test.java          | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java b/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
index 2a809e0e..807b31ab 100644
--- a/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
+++ b/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
@@ -136,7 +136,7 @@ public class DefaultProcessingEnvironment {
 //            // rely on PATH
 //            executable = "env";
 //        } else {
-//            // MAC OS 9 and previous
+//            // macOS 9 and previous
 //            // TODO: I have no idea how to get it, someone must fix it
 //            executable = null;
 //        }
diff --git a/src/test/java/org/apache/commons/exec/issues/Exec57Test.java b/src/test/java/org/apache/commons/exec/issues/Exec57Test.java
index 20ed2ef0..5931ecf3 100644
--- a/src/test/java/org/apache/commons/exec/issues/Exec57Test.java
+++ b/src/test/java/org/apache/commons/exec/issues/Exec57Test.java
@@ -40,7 +40,7 @@ public class Exec57Test extends AbstractExecTest {
      * but if the stop timeout is exceeded an ExecuteException is thrown to notify the caller. But this case the threads are still around causing a resource
      * leak.
      *
-     * @TODO [EXEC-57] Broken for Mac OS X & Linux
+     * @TODO [EXEC-57] Broken for macOS X & Linux
      */
     @Disabled("Broken for Unix-based systems")
     @Test
@@ -57,7 +57,7 @@ public class Exec57Test extends AbstractExecTest {
     }
 
     /**
-     * The same approach using a completely detached process works nicely on Mac OS X.
+     * The same approach using a completely detached process works nicely on macOS X.
      *
      * @throws IOException
      */
diff --git a/src/test/java/org/apache/commons/exec/issues/Exec62Test.java b/src/test/java/org/apache/commons/exec/issues/Exec62Test.java
index 6c36ec5c..6d46d83d 100644
--- a/src/test/java/org/apache/commons/exec/issues/Exec62Test.java
+++ b/src/test/java/org/apache/commons/exec/issues/Exec62Test.java
@@ -73,7 +73,7 @@ public class Exec62Test {
         Files.delete(outputFile);
     }
 
-    @Disabled("Test behaves differently between Mac OS X and Linux - don't know why")
+    @Disabled("Test behaves differently between macOS X and Linux - don't know why")
     @Test
     @Timeout(value = 10, unit = TimeUnit.SECONDS)
     public void testMe() throws Exception {
diff --git a/src/test/java/org/apache/commons/exec/issues/Exec65Test.java b/src/test/java/org/apache/commons/exec/issues/Exec65Test.java
index 8041de11..04ecad7b 100644
--- a/src/test/java/org/apache/commons/exec/issues/Exec65Test.java
+++ b/src/test/java/org/apache/commons/exec/issues/Exec65Test.java
@@ -43,7 +43,7 @@ import org.junit.jupiter.api.Timeout;
 public class Exec65Test extends AbstractExecTest {
 
     /**
-     * This test currently only works for Mac OS X
+     * This test currently only works for macOS X
      * <ul>
      * <li>Linux hangs on the process stream while the process is finished</li>
      * <li>Windows seems to have similar problems</li>