Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 80671 invoked from network); 16 Jun 2004 18:08:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Jun 2004 18:08:38 -0000 Received: (qmail 12298 invoked by uid 500); 16 Jun 2004 18:07:01 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 11995 invoked by uid 500); 16 Jun 2004 18:06:55 -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 11211 invoked by uid 99); 16 Jun 2004 18:06:47 -0000 Received: from [213.41.126.253] (HELO vertigo.micropole.com) (213.41.126.253) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 16 Jun 2004 11:06:47 -0700 Received: by vertigo.micropole.com; id UAA16632; Wed, 16 Jun 2004 20:04:35 +0200 (CEST) Message-Id: <200406161804.UAA16632@vertigo.micropole.com> Date: Wed, 16 Jun 2004 20:06:18 +0200 From: Emmanuel Bourg Organization: Micropole Univers User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: fr, en, en-us MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: [configuration] getProperties ? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I noticed the getProperties(String key, Properties defaultValue) method is only defined in the AbstractConfiguration class, and not in the Configuration interface. I didn't pay attention to this method before, but what is the motivation for getProperties anyway? [configuration] is supposed to provide a higher level replacement for the good old java.util.Properties, so that seems a bit odd to return a Properties here, returning a Configuration would be more appropriate. Emmanuel Bourg --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org