You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2021/01/22 11:33:59 UTC

[maven-shared-utils] branch shell created (now 8dbef7e)

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a change to branch shell
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git.


      at 8dbef7e  Windows 9X is long dead

This branch includes the following new commits:

     new 8dbef7e  Windows 9X is long dead

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-shared-utils] 01/01: Windows 9X is long dead

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch shell
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git

commit 8dbef7e41370e57bd5139eb16c5d45d10565ac92
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Fri Jan 22 06:33:45 2021 -0500

    Windows 9X is long dead
---
 .../java/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 db13770..adc1d19 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.Os;
 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 @@ public class Commandline
         //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
         {