> Just a style nit, most people write this as:
>
>     symbols == null

I prefer the way Santiago wrote it, since you can sometimes make mistakes as
in:

> > +        if (symbols = null || symbols.length < 1)

but the compiler won't allow this

> > +        if (null = symbols || symbols.length < 1)

David

> -----Original Message-----
> From: Jon Stevens [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 16, 2001 10:32 AM
> To: jetspeed-dev
> Subject: Re: cvs
> commit:jakarta-jetspeed/src/java/org/apache/jetspeed/webservic
> es/finance
> /stockmarket JetspeedStockQuoteService.java
>
>
> on 11/16/01 5:51 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > +        if (null == symbols || symbols.length < 1)
>
> Just a style nit, most people write this as:
>
>     symbols == null
>
> -jon
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to