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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

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

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

              Dates

              • Created:
                Updated:
                Resolved: