Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 23753 invoked from network); 24 Dec 2003 14:56:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Dec 2003 14:56:17 -0000 Received: (qmail 14856 invoked by uid 500); 24 Dec 2003 14:56:11 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 14519 invoked by uid 500); 24 Dec 2003 14:56:09 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 14497 invoked from network); 24 Dec 2003 14:56:09 -0000 Received: from unknown (HELO hqexch01.upstate.com) (205.160.101.145) by daedalus.apache.org with SMTP; 24 Dec 2003 14:56:09 -0000 Received: from IQUITOS (suelaptop.ltd.upstate.com [172.17.1.101]) by hqexch01.upstate.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id XCTZTA7J; Wed, 24 Dec 2003 09:57:26 -0500 Reply-To: From: "Eric Pugh" To: "'Jakarta Commons Developers List'" Subject: RE: [configuration] Change getVector to getList Date: Wed, 24 Dec 2003 15:56:06 +0100 Message-ID: <008701c3ca2e$0f699570$0100a8c0@IQUITOS> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0088_01C3CA36.712DFD70" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3FE8710E.9050303@cross-systems.com> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0088_01C3CA36.712DFD70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit [configuration] Change getVector to getListOkay, I applied your patch. The other patch for a ConfigurationException we should redo then. I was thinking about ConfigurationException.. We bascially never expect it to happen.. Should it be a RuntimeException? Otherwise, everywhere you do configuratoin.getString("myval") you have to check for the darn exception... Eric -----Original Message----- From: Emmanuel Bourg [mailto:e.bourg@cross-systems.com] Sent: Tuesday, December 23, 2003 5:45 PM To: Jakarta Commons Developers List Subject: [configuration] Change getVector to getList This change was already discussed briefly in september, with the move out of the sandbox and the near 1.0 release I'd like to push this patch to clean the API before the first public release. The patch replaces the getVector methods in the Configuration interface by equivalent getList methods. All Vectors in the implementation have been converted to List/ArrayLists. The only Vector left is in the ConfigurationConverter.getExtendedProperties method since the ExtendedProperties class doesn't seem to accept Lists. The documentation and the test cases have been modified accordingly. Emmanuel Bourg ------=_NextPart_000_0088_01C3CA36.712DFD70--