----- Original Message -----
From: "Conor MacNeill" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 6:45 AM
Subject: Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs
Jar.java


> Jon Skeet wrote:
>
> >
> > If vPath is null, you get "false" rather than a NullPointerException.
> >
>
> Ah OK. I guess I tend to go for explicit null checks.
>

that is one of the issues with the "string".equals() stuff
 -scares people that dont understand that "string" is an object
 -doesnt make it obvious that the reason it is done that way is to check for
null




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

Reply via email to