commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Honton (JIRA)" <j...@apache.org>
Subject [jira] Created: (CONFIGURATION-326) INIConfiguration does not provide a way to get global subset
Date Thu, 08 May 2008 19:54:30 GMT
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.


Mime
View raw message