Swap Listenerlist constructor around. Should fix parent resizing issue?
This commit is contained in:
parent
e05d6340d7
commit
ca674c2ae5
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue