diff options
Diffstat (limited to 'tests/Request.java')
-rw-r--r-- | tests/Request.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Request.java b/tests/Request.java index 67c3096..73aea54 100644 --- a/tests/Request.java +++ b/tests/Request.java @@ -32,13 +32,13 @@ class Request { id=bus.getWBUId(); bus.bindMsg("^Computer\\d ready",new IvyMessageListener() { public void receive(IvyClient ic,String[] args) { - try { bus.sendMsg("computesum id="+id+" a=3 b=4");} catch (IvyException _ ) { } + try { bus.sendMsg("computesum id="+id+" a=3 b=4");} catch (IvyException ie ) { } } }); bus.bindMsgOnce("^result id="+id+" value=([0-9]+)",new IvyMessageListener() { public void receive(IvyClient ic,String[] args) { System.out.println("result received: "+args[0]); - try {Thread.sleep(1000);} catch (InterruptedException _) { } + try {Thread.sleep(1000);} catch (InterruptedException ie) { } System.exit(0); } }); |