[
https://issues.apache.org/jira/browse/CONFIGURATION-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oliver Heger resolved CONFIGURATION-456.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.7
Thanks for the report, the documentation was indeed not exact. I tried to
improve it by giving concrete examples. The fix is availabe in subversion in
revision 1153992.
> AbstractConfiguration.getKeys(String prefix) docs doesn't say about the point
> ('.')
> -----------------------------------------------------------------------------------
>
> Key: CONFIGURATION-456
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-456
> Project: Commons Configuration
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 1.6
> Reporter: Mirco Andreon
> Priority: Trivial
> Fix For: 1.7
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> For the method
> org.apache.commons.configuration.AbstractConfiguration.getKeys(String prefix)
> the documentation doesn't say that to the prefix will be added a point
> character ('.') to filter the keys list
> (http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/AbstractConfiguration.html#getKeys%28java.lang.String%29).
> I discovered it only reading the source.
> Maybe I should have known this behaviour, but I think a lot of occasional
> users could face this unpredictable behaviour. Specifying this would be very
> helpfull.
> Many thanks for your wonderful libraries!
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira