Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-74

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

    Details

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

      Operating System: All
      Platform: All

      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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development