[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

RE: indexed (String[]) properties fix


Alek,

> // If property is String[] type, use that.
> if (pd[i].getPropertyType().equals(String[].class)) {
>   set(o, pd[i], values);
< } else {
>   for (int j = 0; j < values.length; j++) {
>     String s = values[j];
>     // 2.13.2 If parameter has a value of "" the
>     // corresponding property is not modified.
>     if(s != null && !"".equals(s))
>        set (o, pd[i], s);
>   }
> }

I appreciate the effort, but based upon your code sample, I believe that you
are using very old code.  That defect was fixed on October 29th by Wes, and
has been in every snapshot since that date.  Take a look at a current
revision, and see if the problem hasn't been resolved.

	--- Noel