You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mirco Andreon (JIRA)" <ji...@apache.org> on 2011/07/29 09:34:09 UTC
[jira] [Created] (CONFIGURATION-456)
AbstractConfiguration.getKeys(String prefix) docs doesn't say about the
point ('.')
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
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
[jira] [Resolved] (CONFIGURATION-456)
AbstractConfiguration.getKeys(String prefix) docs doesn't say about the
point ('.')
Posted by "Oliver Heger (JIRA)" <ji...@apache.org>.
[ 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