using default file on no argument (allows easier JWS interaction)
This commit is contained in:
parent
1cdc9f9b15
commit
fa26d83aae
|
@ -65,8 +65,8 @@ public class MovingSoundTest extends BasicTest {
|
|||
*/
|
||||
protected void execute(String[] args) {
|
||||
if (args.length < 1) {
|
||||
System.out.println("please specify filename to play");
|
||||
return;
|
||||
System.out.println("no argument supplied, assuming Footsteps.wav");
|
||||
args = new String[] {"Footsteps.wav"};
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
|
@ -59,8 +59,8 @@ public class PlayTest extends BasicTest {
|
|||
*/
|
||||
protected void execute(String[] args) {
|
||||
if(args.length < 1) {
|
||||
System.out.println("please specify filename to play");
|
||||
return;
|
||||
System.out.println("no argument supplied, assuming Footsteps.wav");
|
||||
args = new String[] {"Footsteps.wav"};
|
||||
}
|
||||
|
||||
int lastError;
|
||||
|
|
Loading…
Reference in New Issue