>
> > can't you just do:
> [snip]
>
> Unfortunately, no, because then it looks for a method with the signature
> of:
>
>   bar(string, string)
>
> Rather than the one that actually exists of
>
>   bar(string, string, string)
>

In that case, create a class (or modify the current class) that uses the
class with a further method (whatever the method returns could be String or
whatever):

public void bar(String a, String b) {
    return bar(a, b, null);
}

guaranteed that Java sees a null then.

Paul


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to