diff options
author | jestin | 2016-02-24 20:39:43 +0000 |
---|---|---|
committer | jestin | 2016-02-24 20:39:43 +0000 |
commit | 97f906eb738bab2ab4467a59fba09fc6b3454587 (patch) | |
tree | 0ab2e7f15d84592d5ae33a26b864f452deca7ce0 /tests/Request.java | |
parent | 1e03020739271f2b6a37ca7010d42d1d4499330a (diff) | |
download | ivy-java-97f906eb738bab2ab4467a59fba09fc6b3454587.zip ivy-java-97f906eb738bab2ab4467a59fba09fc6b3454587.tar.gz ivy-java-97f906eb738bab2ab4467a59fba09fc6b3454587.tar.bz2 ivy-java-97f906eb738bab2ab4467a59fba09fc6b3454587.tar.xz |
Integrates G. Alliger's fix ! Kudos to him
Add ignore ipv6
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); } }); |