commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31745] New: - [configuration] HierarchicalConfiguration.getKeys(String) might return empty iterator
Date Sat, 16 Oct 2004 15:27:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31745>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31745

[configuration] HierarchicalConfiguration.getKeys(String) might return empty iterator

           Summary: [configuration]
                    HierarchicalConfiguration.getKeys(String) might return
                    empty iterator
           Product: Commons
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Configuration
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: oliver.heger@t-online.de


If called with a prefix string that contains indices, the implementation of
getKeys(String) inherited from AbstractConfiguration fails to find keys with the
passed in prefix. So the returned iterator is empty.

This patch provides a specific implementation of this method for
HierarchicalConfiguration that solves this problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message