code polish

This commit is contained in:
nathan 2016-02-07 17:02:51 +01:00
parent 11afd3d721
commit 10e2d52103

View File

@ -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;