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

        Emmanuel Bourg created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 35903 12342409
        Henri Yandell made changes -
        Project Commons [ 12310458 ] Commons Configuration [ 12310467 ]
        Component/s Configuration [ 12311107 ]
        Key COM-2257 CONFIGURATION-74
        Affects Version/s Nightly Builds [ 12311648 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Henri Yandell made changes -
        Affects Version/s Nightly Builds [ 12311710 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development