you could still do add((IBehavior[])null) so the null check needs to stay.

Maurice

On Sat, Apr 12, 2008 at 8:52 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> is check on component:935 needed? can behaviors array ever be null?
>  add((ibehavior)null) will give you ibehavior[]{null} no?
>
>  -igor
>
>
>
>
>  On Sat, Apr 12, 2008 at 11:36 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:
>  > ok i committed it
>  >  Let see how this works then.
>  >
>  >  On Sat, Apr 12, 2008 at 11:14 AM, Johan Compagner <[EMAIL PROTECTED]>
>  >  wrote:
>  >
>  >
>  >
>  >  > I ask the same question on the meeting and there they pretty much all
>  >  > said why not..
>  >  >
>  >  > So
>  >  > add(Component... child)
>  >  > add(IBehavior... behavior)
>  >  > add(IValidator... validator)
>  >  >
>  >  > Johan
>  >  >
>  >
>

Reply via email to