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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment