Yes, it is fixed in the latest source. Sorry, I thought I looked there, but I 
didn't look at the trunk.
   
  Dan

Will Glass-Husain <[EMAIL PROTECTED]> wrote:
  What class is this in?

We fixed a lot of overdue bugs in the (as yet unreleased) 1.5. You
can download the latest source code via svn. Also, search JIRA at
http://issues.apache.org/jira

Thanks for reporting this.

WILL


On 8/30/06, Daniel Zajic wrote:
> This is a bug, since the argument may be null:
> public final void write(String s) throws IOException
> {
> write(s, 0, s.length());
> }
>
> It could be changed to this:
>
> public final void write(String s) throws IOException
> {
> if (s != null)
> {
> write(s, 0, s.length());
> }
> }
>
> or this:
>
> public final void write(String s) throws IOException
> {
> if (s == null) {
> s = "";
> }
> write(s, 0, s.length());
> }
>
> I found a post about this from over 2 years ago, but the latest code (1.4) 
> isn't fixed.
>
>
>


  ************************************ 
Daniel Zajic
  12600 SW Crescent St #426
Beaverton, OR 97005
503.523.2503
http://www.dzajic.com
************************************


                
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.

Reply via email to