Interesting...yea I didn't think of that

--
Thanks & Regards,
Dhruva Sagar.



On Thu, Oct 7, 2010 at 09:09, Jeremy Bopp <jeremy / bopp.net> wrote:

> On 10/06/2010 09:44 PM, Dhruva Sagar wrote:
> > Are you sure that you don't have *args in your code instead of just args
> ?
> > In case of *args the warning makes sense...
>
> Actually, *args is certain to be initialized.  If no arguments are
> passed to the method, args will be an empty array.  If any arguments are
> passed, they will be elements of that array.
>
> I think the warning from the IDE is bogus.  What happens if you define a
> default value for args?
>
> -Jeremy
>
>