This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch MSHARED-1215 in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git
commit 75db905a914a059434f0cbec14373f1e230faf77 Author: Elliotte Rusty Harold <[email protected]> AuthorDate: Sat Jun 17 16:55:09 2023 -0400 [MSHARED-1215] deprecate Os class that hasn't been maintained for over a decade and is badly out of date --- src/main/java/org/apache/maven/shared/utils/Os.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/maven/shared/utils/Os.java b/src/main/java/org/apache/maven/shared/utils/Os.java index 184b98a..c6151bb 100644 --- a/src/main/java/org/apache/maven/shared/utils/Os.java +++ b/src/main/java/org/apache/maven/shared/utils/Os.java @@ -23,21 +23,25 @@ import java.util.HashSet; import java.util.Locale; import java.util.Set; -/** - * <p>Condition that tests the OS type.</p> - * <p>This class got copied over from Apache ANT. +/* + * This class was copied over from Apache ANT. * Even the version from plexus-utils was * only an ANT fork! * The last time it got copied was on 2011-08-12</p> - * <p>When merging changes please take care of the special - * OS_FAMILY handling in this version of Os.java!</p> + * When merging changes please take care of the special + * OS_FAMILY handling in this version of Os.java! + */ + +/** + * <p>Condition that tests the OS type.</p> * * @author Stefan Bodewig * @author Magesh Umasankar * @author Brian Fox * @author Mark Struberg - * + * @deprecated use {@code org.apache.commons.lang3.SystemUtils} instead */ +@Deprecated public class Os { /** * The OS Name.
