Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-28

[configuration] Interpolation method returns multi-valued properties

    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: other
      Platform: Other

      Description

      If the property referred to from a variable contains multiple values, the
      interpolation method returns all of these values. This leads to a string
      representation of the list with the properties, which in most cases won't be
      desired.

      Because the interpolation method is called only by getString() and for
      interpolating single elements of a String[] only a single value should be
      returned, i.e. in case of a multi-valued property the first value (which is
      consistent with the behavior of other scalar getter methods).

        Activity

        Hide
        Oliver Heger added a comment -

        Fixed in SVN.

        Show
        Oliver Heger added a comment - Fixed in SVN.

          People

          • Assignee:
            Unassigned
            Reporter:
            Oliver Heger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development