AttributeList.java: Updated.

2007-02-15  Gary Benson  <gbenson@redhat.com>

	* javax/management/AttributeList.java: Updated.
	* javax/management/MBeanServerDelegate.java: Likewise.
	* javax/management/MBeanServerFactory.java: Likewise.
	* javax/management/StandardMBean.java: Likewise.

From-SVN: r122004
This commit is contained in:
Gary Benson 2007-02-15 16:40:44 +00:00 committed by Gary Benson
parent c47277a619
commit b697e623a3
9 changed files with 30 additions and 18 deletions

View file

@ -69,7 +69,7 @@ public class MBeanServerDelegate
/**
* The listeners registered with the delegate.
*/
private List listeners;
private final List listeners = new ArrayList();
/**
* The sequence identifier used by the delegate.
@ -120,8 +120,6 @@ public class MBeanServerDelegate
{
if (listener == null)
throw new IllegalArgumentException("A null listener was supplied.");
if (listeners == null)
listeners = new ArrayList();
listeners.add(new ListenerData(listener, filter, passback));
}