From 10e2d521034713758a39e0944cbae72d1a75e568 Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 7 Feb 2016 17:02:51 +0100 Subject: [PATCH] code polish --- src/dorkbox/messagebus/subscription/Entry.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dorkbox/messagebus/subscription/Entry.java b/src/dorkbox/messagebus/subscription/Entry.java index dc9f553..da6b4b2 100644 --- a/src/dorkbox/messagebus/subscription/Entry.java +++ b/src/dorkbox/messagebus/subscription/Entry.java @@ -18,15 +18,16 @@ package dorkbox.messagebus.subscription; // // not thread-safe!!! // + public class Entry { private final T value; - private Entry next; - private Entry prev; + private Entry next; + private Entry prev; public - Entry(T value, Entry next) { + Entry(T value, Entry next) { if (next != null) { this.next = next; next.prev = this;