User: slaboure Date: 01/10/31 05:24:02 Modified: src/main/org/jboss Tag: Branch_2_4 Shutdown.java Log: Bug #476749. Check if the number of arguments is high enough, not exactly equal to the awaited position. Revision Changes Path No revision No revision 1.1.6.1 +3 -3 jboss/src/main/org/jboss/Shutdown.java Index: Shutdown.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/Shutdown.java,v retrieving revision 1.1 retrieving revision 1.1.6.1 diff -u -r1.1 -r1.1.6.1 --- Shutdown.java 2001/03/27 16:32:39 1.1 +++ Shutdown.java 2001/10/31 13:24:02 1.1.6.1 @@ -24,7 +24,7 @@ * <br> * * @author Dewayne McNair ([EMAIL PROTECTED]) - * @version $Revision: 1.1 $ + * @version $Revision: 1.1.6.1 $ */ public class Shutdown { @@ -36,10 +36,10 @@ String host = "localhost"; String port = "8082"; - if (argv.length == 1) + if (argv.length >= 1) host = argv[0]; - if (argv.length == 2) + if (argv.length >= 2) port = argv[1]; try
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development