directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: Java 5 compile error (AbstractStringBuilder is not visible)
Date Wed, 01 Dec 2004 03:50:53 GMT
Mark Swanson wrote:

>Hello,
>
>This code fails:
>        StringBuffer buf = new StringBuffer();
>        buf.append( "base: " ).append( base ).append( "\n" );
>
>The problem is that .append(String).append(String)... does not work.
>The workaround that must be done is to change the above code to look like 
>this:
>buf.append("base:");
>buf.append(base);
>buf.append("\n");
>
>This will work on Jdk 1.4, and jdk 1.5.
>
>Cheers.
>
>BTW, I would submit a patch for both of these fixes, but I do not know how to 
>do this as I am a subversion newbie. If someone knows what I should type I 
>would be happy to do it.
>
>  
>
I think 'svn diff' will do it once you have made the modifications. 

Alex

Mime
View raw message