commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CONFIGURATION-325) INIConfiguration getSections does not include global section
Date Tue, 18 Nov 2008 21:31:44 GMT

     [ 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.


Mime
View raw message