Swap Listenerlist constructor around. Should fix parent resizing issue?

This commit is contained in:
Christian committed 2014-05-14 14:22:51 -04:00
1 parent 70570a863f
commit 43e3ee1af1
1 file changed
+4 -3
@@ -14,14 +14,15 @@ public class ListenerList
public ListenerList()
{
extendMasterList(this);
resizeLists(maxSize);
this(null);
}
public ListenerList(ListenerList parent)
{
this();
// parent needs to be set before resize !
this.parent = parent;
extendMasterList(this);
resizeLists(maxSize);
}
private synchronized static void extendMasterList(ListenerList inst)