Simple fix for not Eclipse usage.

master
penguinc 2005-06-28 21:46:19 +00:00
parent f841717c63
commit 51316975b9
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ public class Manager {
* args2 to remove the hack.
*/
String[] args = null;
if ( args2[0].indexOf ( "Manager" ) > 0 ) {
if ( args2.length >= 1 && args2[0].indexOf ( "Manager" ) > 0 ) {
args = new String[args2.length - 1];
for ( int i = 1; i < args2.length; i++ ) {
args[i - 1] = args2[i];
@ -282,4 +282,4 @@ public class Manager {
/* finished */
System.out.println ( "Fin" );
}
}
}