From 8dbef7e41370e57bd5139eb16c5d45d10565ac92 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Fri, 22 Jan 2021 06:33:45 -0500 Subject: [PATCH] Windows 9X is long dead --- .../org/apache/maven/shared/utils/cli/Commandline.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java b/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java index db137708..adc1d19f 100644 --- a/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java +++ b/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java @@ -34,7 +34,6 @@ import org.apache.maven.shared.utils.StringUtils; import org.apache.maven.shared.utils.cli.shell.BourneShell; import org.apache.maven.shared.utils.cli.shell.CmdShell; -import org.apache.maven.shared.utils.cli.shell.CommandShell; import org.apache.maven.shared.utils.cli.shell.Shell; /** @@ -124,14 +123,7 @@ private void setDefaultShell() //If this is windows set the shell to command.com or cmd.exe with correct arguments. if ( Os.isFamily( Os.FAMILY_WINDOWS ) ) { - if ( Os.isFamily( Os.FAMILY_WIN9X ) ) - { - setShell( new CommandShell() ); - } - else - { - setShell( new CmdShell() ); - } + setShell( new CmdShell() ); } else {