----- Original Message ----- 
From: "Diane Holt" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, May 29, 2002 11:39 AM
Subject: Re: Possible bug fix for LoadFile.java


> --- Magesh Umasankar <[EMAIL PROTECTED]> wrote:
> > What if crh.readFully(...) returns null?
> 
> Yeah -- it actually needs to be:
>   if( text != null ) {
>     if( text.length > 0 ) {

you can short cut it:
 if( text != null  && text.length > 0) {



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

Reply via email to