Swap Listenerlist constructor around. Should fix parent resizing issue?

This commit is contained in:
Christian 2014-05-14 14:22:51 -04:00
parent e05d6340d7
commit ca674c2ae5

View file

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