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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: