From ee255ea1b09984430d38bfc0ac1f7c739d7063ca Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Fri, 6 Dec 2024 17:48:03 -0500 Subject: [PATCH] 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 3812a33b2..75db69f91 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 static boolean isFamilyTandem() { } /** - * 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 ee42f84e5..8d07d90b5 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 void tearDown() throws Exception { /** * - * 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 */