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