summaryrefslogtreecommitdiffstats
path: root/qadevOOo/runner/util/WaitUnreachable.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/WaitUnreachable.java')
-rw-r--r--qadevOOo/runner/util/WaitUnreachable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/util/WaitUnreachable.java b/qadevOOo/runner/util/WaitUnreachable.java
index 33e383be95de..56046397e123 100644
--- a/qadevOOo/runner/util/WaitUnreachable.java
+++ b/qadevOOo/runner/util/WaitUnreachable.java
@@ -47,7 +47,7 @@ public final class WaitUnreachable {
*/
public WaitUnreachable(Object obj) {
this.obj = obj;
- queue = new ReferenceQueue();
+ queue = new ReferenceQueue<Object>();
ref = new PhantomReference<Object>(obj, queue);
}
@@ -113,6 +113,6 @@ public final class WaitUnreachable {
}
private Object obj;
- private final ReferenceQueue queue;
+ private final ReferenceQueue<Object> queue;
private final PhantomReference<Object> ref;
}