Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-36

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None
    • None
    • Operating System: other
      Platform: Other

    • 31745

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            oheger Oliver Heger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: