Daniel Rall <[EMAIL PROTECTED]> writes:

>  /**
>   * This class extends normal Java properties by adding the possibility
>   * to use the same key many times concatenating the value strings
> @@ -951,6 +953,11 @@
>          if (value instanceof String)
>          {
>              return (String) value;
> +        }
> +        else if (value instanceof Vector)
> +        {
> +            return StringUtils.join((Vector) value,
> +                                    PropertiesTokenizer.DELIMETER);
>          }
>          else if (value == null)
>          {

And on second thought, these two else if blocks should have their
order switched since it's more likely that the latter will occur more
often than the former.

Daniel

Reply via email to