You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Daniel F. Savarese" <df...@savarese.org> on 2003/07/15 03:57:01 UTC

Re: [PATCH] [NET] SimpleSMTPHeader - JDK 1.3 compatibility and optional subject

In message <3F...@mikon.com>, Paul Spencer writes:
>Please apply the attached patch.  It corrects the following problems:
>
>1) toString() failed in JDK 1.3 because the method 
>StringBuffer.append(StringBuffer) does not exist.  The method was added 
>in JDK 1.4.

Thanks for the patch.  I just applied it.  As I indicated in my commit
message, it appears the code relied on an implicit toString() call by
the compiler, but after J2SE 1.4 added StringBuffer.append(StringBuffer)
and the code was compiled using J2SE 1.4 javac, a call to
StringBuffer.append(StringBuffer) was resolved instead of
StringBuffer.append(String).

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org