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

INIConfiguration getSections does not include global section

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.6
    • Documentation, Format
    • None

    Description

      The set returned from INIConfiguration.getSections() does not include the global section. As an example, with the following file

      default = ok
      dotted.var1 = default

      []
      dotted.var1 = empty
      var2 = empty

      [section1]
      dotted.var1 = foo
      var2 = doodle

      calling INIConfiguration.getSections() produces a Set with elements "" and "section1". I expected a Set with elements null,"", and "section1"

      Attachments

        Activity

          People

            Unassigned Unassigned
            chonton Charles Honton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: