Re: [configuration] Change Commons-Configuration getVector to getSet?

2003-09-25 Thread Henning P. Schmiedehausen
Emmanuel Bourg [EMAIL PROTECTED] writes: --ms080101070400050103080207 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit A Set is too restrictive i think, there are valid reasons for preserving duplicate configuration entries. I would use a

RE: [configuration] Change Commons-Configuration getVector to getSet?

2003-09-25 Thread Eric Pugh
:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:02 AM To: [EMAIL PROTECTED] Subject: Re: [configuration] Change Commons-Configuration getVector to getSet? Emmanuel Bourg [EMAIL PROTECTED] writes: --ms080101070400050103080207 Content-Type: text/plain; charset=us-ascii

RE: [configuration] Change Commons-Configuration getVector to getSet?

2003-09-18 Thread Eric Pugh
Re: [configuration] Change Commons-Configuration getVector to getSet?Out of curiosity, what would be a usecase for multiple duplicate config entries that are the same? Maybe to count them or something? So, does anyone have an opinion on List? I definitly can understand why the Set wouldn't work

Re: [configuration] Change Commons-Configuration getVector to getSet?

2003-09-17 Thread Emmanuel Bourg
A Set is too restrictive i think, there are valid reasons for preserving duplicate configuration entries. I would use a Collection or better, a List when the element order matters. Emmanuel Eric Pugh wrote: Hi all, I am looking at a chunk of code like this: Vector packages =