mirror of
https://github.com/corda/corda.git
synced 2025-06-13 12:48:18 +00:00
more work on java/lang/ref/* support
This commit is contained in:
@ -19,10 +19,10 @@ public abstract class ReferenceQueue<T> {
|
||||
void add(Reference<? extends T> r) {
|
||||
r.next = r;
|
||||
if (front == null) {
|
||||
front = rear = r;
|
||||
front = r;
|
||||
} else {
|
||||
rear.next = r;
|
||||
rear = r;
|
||||
}
|
||||
rear = r;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user