On 22/05/06, Martin van den Bemt <[EMAIL PROTECTED]> wrote:


urs hardegger wrote:
> netcetera suggests the following changes to commons csv:
>
>
>    1) CSVPartser.java:
>     StringBuffer.append(StringBuffer) is no supported in JDK 1.3.
>       It would be a pitty to have an incompatibility because
>       of this issue. In case this is performance critical,
>       we surround this with an if statement for the JDK version.

It is supported in jdk1.3.. Just cast the stringbuffer passed in to an object, 
so like
StringBuffer.append((Object) StringBuffer)). Much more efficient than an if...


Surely a StringBuffer is already an Object?

Or am I missing something here?

S.

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

Reply via email to