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

[configuration] getKeys() in HierarchicalConfiguration doesn't preserve the order of the keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 35903

    Description

      The order of the keys returned by the getKeys() implementation of
      HierarchicalConfiguration doesn't match the order of the nodes in the tree. This
      is due to the HashSet in DefinedKeysVisitor, I suggest replacing it with a
      ListOrderedSet from Commons Collections 3.1.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ebourg Emmanuel Bourg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: