To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80313
User sb changed the following:
What |Old value |New value
================================================================================
Status|NEW |RESOLVED
--------------------------------------------------------------------------------
Resolution| |INVALID
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Wed Sep 26 14:11:18 +0000
2007 -------
"Additionally i would suggest to rethink the method makeStringAndClear. It
resets the string and sets the capacity to 0. Initially the StringBuffer has a
capacity of 16. I would suggest to initialize the buffer in the same way as the
default constructor it does, but of course this is only my view."
(<http://www.openoffice.org/issues/show_bug.cgi?id=80284#desc4>) I think it is
better to not create a fresh nonzero capacity in makeStringAndClear, as most
often makeStringAndClear is the last call on a string buffer, so any new memory
allocation there would be wasted.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]