SF2963102 use varargs in Dispatch instead of a million overloaded methods

This commit is contained in:
clay_shooter
2010-11-07 15:36:32 +00:00
parent f0204690cc
commit 623c6e9b6b
16 changed files with 174 additions and 649 deletions

View File

@@ -25,7 +25,7 @@ public class IETest extends BaseTestCase {
/**
* well known address we can navigate to
*/
private String testUrls[] = {
private final String testUrls[] = {
"http://sourceforge.net/projects/jacob-project",
"http://www.google.com" };
@@ -70,6 +70,7 @@ public class IETest extends BaseTestCase {
+ Thread.currentThread().getName());
if (aThread.threadFailedWithException != null) {
aThread.threadFailedWithException.printStackTrace();
fail("caught an unexpected exception "
+ aThread.threadFailedWithException);
}
@@ -113,6 +114,7 @@ class IETestThread extends Thread {
/**
* Run through the addresses passed in via the constructor
*/
@Override
public void run() {
// pick a time that lets sourceforge respond (in msec)
int delay = 3000;