on 11/28/2000 12:49 PM, "Mike Haberman" <[EMAIL PROTECTED]> wrote:
>
> basically, you have
>
> out = new StringBuffer();
> while (...)
> {
> Stringbuffer sb = new StringBuffer();
> sb.append(...);
> sb.append(...);
> out.append(sb.toString());
> }
> return out.toString();
>
> why not just append to out ?
doh! you are right. that is bad code.
+1 on a patch for that. :-)
-jon
--
twice of not very much is still a lot more than not very much
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]