[jdom-interest] TextBuffer class

Kevin A. Roll kroll at anaglyph.net
Tue Apr 8 17:09:22 PDT 2003


At 04:53 PM 4/8/2003 -0700, Jason Hunter wrote:
>The reason it's not public is that there's no guarantee it will be
>retained in the future.  When you make something public you're promising
>to keep it.  That class is an implementation detail.
>
>You don't need it public to avoid the memory bug.  It was a one-line
>fix.  Get the latest code in CVS and all will be well.

Yep, I've done that for my general project, and it works great. The point 
here was that I am writing a special SAXHandler for a portion of my 
application that I want to optimize. I needed a way to glob together 
several calls to characters(), and you have already elegantly solved the 
issue. I simply copied the code into a different package. :)





More information about the jdom-interest mailing list