The Rantings and Ravings of an Unremarkable Geek

Categories : All | Java
StringBuffer no longer shares its contents with the Strings it creates in 1.5. Apparently enough people found the shared buffer behavior unexpected and confusing that Sun didn't even bother adding a toStringWithoutCopy() method for those who want that behavior.

Read more...