aboutsummaryrefslogtreecommitdiff
path: root/tests/TestNetSwing.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TestNetSwing.java')
-rw-r--r--tests/TestNetSwing.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/TestNetSwing.java b/tests/TestNetSwing.java
index 7aed6e2..a153636 100644
--- a/tests/TestNetSwing.java
+++ b/tests/TestNetSwing.java
@@ -141,11 +141,6 @@ class TestNetSwing implements Runnable {
e.printStackTrace();
System.exit(0);
}
- try {
- broadcast.setSoTimeout(Ivy.TIMEOUTLENGTH);
- } catch ( java.net.SocketException jns ) {
- System.out.println("IvyWatcher setSoTimeout error" + jns.getMessage() );
- }
watcherThread = new Thread(this);
watcherThread.start();
}
@@ -216,7 +211,7 @@ class TestNetSwing implements Runnable {
public static void main(String[] args) throws IvyException {
Getopt opt = new Getopt("TestNetSwing",args,"b:h");
int c;
- String domainstring = Ivy.getDomain(null);
+ String domainstring = null;
while ((c = opt.getopt()) != -1) switch (c) {
case 'b':
domainstring=opt.getOptarg();