diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-08-06 00:12:34 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-08-06 00:13:27 +0200 |
commit | b80b7ba1791cdd9e79ed7a380b8981878f46b8a4 (patch) | |
tree | 0c9e3df7abbaf4a547af03442663a2c978ebde21 /unotest/source | |
parent | c04c2114d9159646dddd4807d026c9fee6953817 (diff) |
Static method sleep from Thread should be accessed in a static way
Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
Diffstat (limited to 'unotest/source')
-rw-r--r-- | unotest/source/java/org/openoffice/test/OfficeConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotest/source/java/org/openoffice/test/OfficeConnection.java b/unotest/source/java/org/openoffice/test/OfficeConnection.java index 311392b5e771..d8774a1958c7 100644 --- a/unotest/source/java/org/openoffice/test/OfficeConnection.java +++ b/unotest/source/java/org/openoffice/test/OfficeConnection.java @@ -201,7 +201,7 @@ public final class OfficeConnection { Thread t2 = new Thread("waitForProcess") { public void run() { try { - Thread.currentThread().sleep(millis); + Thread.sleep(millis); } catch (InterruptedException e) {} t1.interrupt(); } |