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!!!
//
public
class Entry<T> {
private final T value;
private Entry next;
private Entry prev;
private Entry<T> next;
private Entry<T> prev;
public
Entry(T value, Entry next) {
Entry(T value, Entry<T> next) {
if (next != null) {
this.next = next;
next.prev = this;