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

A local StrLookup of the parent should be used by a SubsetConfiguration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6
    • 1.7
    • Interpolation
    • None

    Description

      While it is quite easy to register a global StrLookup, it is not so easy
      to work with the local ones. Especially since those are no longer available
      for a SubsetConfiguration:

      moduleA.value=${my:foo}

      assertEquals("bar", config.getString("moduleA.value"));
      assertEquals("bar", config.subset("moduleA").getString("value"));

      The second assert fails.

      Attachments

        Activity

          People

            joehni Joerg Schaible
            joehni Joerg Schaible
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: