Alan,
Collection is an interface, not a class. Your original code had:
lstCIDR = new Vector();
I just changed that to:
lstCIDR = new ArrayList();
that's it. The instance variable is still defined as
private Collection lstCIDR = null;
Yes, other matchers probably do use Vector, and most can probably be
changed.
--- Noel
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 15:30
To: James Developers List
Subject: RE: CIDr Addition
> I didn't change it from Collection to ArrayList, I changed
> it from Vector to ArrayList. The interface is still
> Collection. You don't need a synchronized class there.
> The class is initialized in a single thread, and then the
> Collection is read-only, so there is no need to
> synchronize the operations.
hmm..
seems that a few of the earlier matchers used Collection. Is
this something we are slowingladjusting ??
_______________________
thanks,
alan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]