You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Charles Honton (JIRA)" <ji...@apache.org> on 2008/05/08 21:46:40 UTC

[jira] Created: (CONFIGURATION-325) INIConfiguration getSections does not include global section

INIConfiguration getSections does not include global section
------------------------------------------------------------

                 Key: CONFIGURATION-325
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-325
             Project: Commons Configuration
          Issue Type: Bug
          Components: Documentation, Format
            Reporter: Charles Honton


The set returned from INIConfiguration.getSections() does not include the global section.  As an example,  with the following file

default = ok
dotted.var1 = default

[]
dotted.var1 = empty
var2 = empty

[section1]
dotted.var1 = foo
var2 = doodle

calling INIConfiguration.getSections()  produces a Set with elements "" and "section1".  I expected a Set with elements null,"", and "section1"


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CONFIGURATION-325) INIConfiguration getSections does not include global section

Posted by "Oliver Heger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CONFIGURATION-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger resolved CONFIGURATION-325.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

The getSections() method of HierarchicalINIConfiguration takes the global section into account.

> INIConfiguration getSections does not include global section
> ------------------------------------------------------------
>
>                 Key: CONFIGURATION-325
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-325
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Documentation, Format
>            Reporter: Charles Honton
>             Fix For: 1.6
>
>
> The set returned from INIConfiguration.getSections() does not include the global section.  As an example,  with the following file
> default = ok
> dotted.var1 = default
> []
> dotted.var1 = empty
> var2 = empty
> [section1]
> dotted.var1 = foo
> var2 = doodle
> calling INIConfiguration.getSections()  produces a Set with elements "" and "section1".  I expected a Set with elements null,"", and "section1"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.