code polish
This commit is contained in:
parent
11afd3d721
commit
10e2d52103
|
@ -18,15 +18,16 @@ package dorkbox.messagebus.subscription;
|
||||||
//
|
//
|
||||||
// not thread-safe!!!
|
// not thread-safe!!!
|
||||||
//
|
//
|
||||||
|
|
||||||
public
|
public
|
||||||
class Entry<T> {
|
class Entry<T> {
|
||||||
private final T value;
|
private final T value;
|
||||||
|
|
||||||
private Entry next;
|
private Entry<T> next;
|
||||||
private Entry prev;
|
private Entry<T> prev;
|
||||||
|
|
||||||
public
|
public
|
||||||
Entry(T value, Entry next) {
|
Entry(T value, Entry<T> next) {
|
||||||
if (next != null) {
|
if (next != null) {
|
||||||
this.next = next;
|
this.next = next;
|
||||||
next.prev = this;
|
next.prev = this;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user