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 <[EMAIL PROTECTED]> 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
************************************
---------------------------------
Get your email and more, right on the new Yahoo.com
--
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]