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 /javaunohelper/test/com/sun/star | |
parent | c04c2114d9159646dddd4807d026c9fee6953817 (diff) |
Static method sleep from Thread should be accessed in a static way
Change-Id: I7d875dd74f8eff05f7a291100841779abbf5fd1c
Diffstat (limited to 'javaunohelper/test/com/sun/star')
-rw-r--r-- | javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java | 2 | ||||
-rw-r--r-- | javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java index 68b1f1a14015..c452fc5c0f4d 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java @@ -102,7 +102,7 @@ public class ComponentBase_Test { try { - Thread.currentThread().sleep(100); + Thread.sleep(100); System.gc(); System.runFinalization(); }catch (InterruptedException ie) diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java index 25e93eb375cf..f70f1b210993 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java @@ -128,7 +128,7 @@ public class WeakBase_Test { try { - Thread.currentThread().sleep(100); + Thread.sleep(100); System.gc(); System.runFinalization(); }catch (InterruptedException ie) @@ -157,7 +157,7 @@ public class WeakBase_Test { try { - Thread.currentThread().sleep(100); + Thread.sleep(100); System.gc(); System.runFinalization(); }catch (InterruptedException ie) |