Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-87

[configuration] getKeys(String) broken in JNDIConfiguration

    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 getKeys(String prefix) implementation in JNDIConfiguration seems to be
      broken, I tried to call this method with a prefix that is not used in the
      configuration and it didn't return an empty iterator as expected.

      config.getKeys("foo.bar");

      returns an Iterator with the "foo" and "bar" elements.

        Activity

        Emmanuel Bourg created issue -
        Hide
        Emmanuel Bourg added a comment -

        A test demonstrating this issue has been added to TestJNDIEnvironmentValues.

        Show
        Emmanuel Bourg added a comment - A test demonstrating this issue has been added to TestJNDIEnvironmentValues.
        Hide
        Emmanuel Bourg added a comment -

        fixed!

        Show
        Emmanuel Bourg added a comment - fixed!
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 29717 12341531
        Henri Yandell made changes -
        Project Commons [ 12310458 ] Commons Configuration [ 12310467 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Affects Version/s Nightly Builds [ 12311648 ]
        Component/s Configuration [ 12311107 ]
        Key COM-1379 CONFIGURATION-87
        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