Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 95262 invoked from network); 8 May 2008 19:56:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 19:56:23 -0000 Received: (qmail 10449 invoked by uid 500); 8 May 2008 19:56:24 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 10371 invoked by uid 500); 8 May 2008 19:56:24 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 10360 invoked by uid 99); 8 May 2008 19:56:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 12:56:24 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 19:55:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 58795234C10A for ; Thu, 8 May 2008 12:55:59 -0700 (PDT) Message-ID: <1419997279.1210276559361.JavaMail.jira@brutus> Date: Thu, 8 May 2008 12:55:59 -0700 (PDT) From: "Charles Honton (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (CONFIGURATION-326) INIConfiguration does not provide a way to get global subset In-Reply-To: <696378710.1210276470354.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONFIGURATION-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Charles Honton updated CONFIGURATION-326: ----------------------------------------- Description: There does not appear to be a way to get the global section from INIConfiguration.subset(). As an example, with the file ; start default = ok var1 = default [] var1 = empty1 var2 = empty2 ; end calling INIConfiguration.subset("") or INIConfiguration.subset(null) returns a Configuration with the contents: var1 = empty1 var2 = empty2 I expected that INIConfiguration.subset(null) would return a Configuration with the contents: default = ok var1 = default was: There does not appear to be a way to get the global section from INIConfiguration.subset(). As an example, with the file # start default = ok var1 = default [] var1 = empty1 var2 = empty2 # end calling INIConfiguration.subset("") or INIConfiguration.subset(null) returns a Configuration with the contents: var1 = empty1 var2 = empty2 I expected that INIConfiguration.subset(null) would return a Configuration with the contents: default = ok var1 = default > INIConfiguration does not provide a way to get global subset > ------------------------------------------------------------ > > Key: CONFIGURATION-326 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-326 > Project: Commons Configuration > Issue Type: Bug > Components: Documentation, Format > Reporter: Charles Honton > > There does not appear to be a way to get the global section from INIConfiguration.subset(). As an example, with the file > ; start > default = ok > var1 = default > [] > var1 = empty1 > var2 = empty2 > ; end > calling INIConfiguration.subset("") or INIConfiguration.subset(null) returns a Configuration with the contents: > var1 = empty1 > var2 = empty2 > I expected that INIConfiguration.subset(null) would return a Configuration with the contents: > default = ok > var1 = default -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.