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 ee255ea1 Normalize spelling
ee255ea1 is described below

commit ee255ea1b09984430d38bfc0ac1f7c739d7063ca
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Dec 6 17:48:03 2024 -0500

    Normalize spelling
    
    Note that "UNIX" is a trademark, "Unix" is not
---
 src/main/java/org/apache/commons/exec/OS.java                | 4 ++--
 src/test/java/org/apache/commons/exec/issues/Exec36Test.java | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/exec/OS.java 
b/src/main/java/org/apache/commons/exec/OS.java
index 3812a33b..75db69f9 100644
--- a/src/main/java/org/apache/commons/exec/OS.java
+++ b/src/main/java/org/apache/commons/exec/OS.java
@@ -166,9 +166,9 @@ public final class OS {
     }
 
     /**
-     * Tests whether the OS is in the UNIX family.
+     * Tests whether the OS is in the Unix family.
      *
-     * @return whether the OS is in the UNIX family.
+     * @return whether the OS is in the Unix family.
      */
     public static boolean isFamilyUnix() {
         return isFamily(FAMILY_UNIX);
diff --git a/src/test/java/org/apache/commons/exec/issues/Exec36Test.java 
b/src/test/java/org/apache/commons/exec/issues/Exec36Test.java
index ee42f84e..8d07d90b 100644
--- a/src/test/java/org/apache/commons/exec/issues/Exec36Test.java
+++ b/src/test/java/org/apache/commons/exec/issues/Exec36Test.java
@@ -121,7 +121,7 @@ public class Exec36Test {
 
     /**
      *
-     * Original example from Kai Hu which only can be tested on UNIX
+     * Original example from Kai Hu which only can be tested on Unix
      *
      * @throws Exception the test failed
      */

Reply via email to