poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54838] StringBuffer could be replaced by StringBuilder for performance
Date Thu, 24 Jul 2014 16:43:26 GMT

--- Comment #5 from Nick Burch <apache@gagravarr.org> ---
In r1613186, I've updated the Vector uses that are clearly fine to ArrayList

Where a StringBuilder is used within a method, then toString'd at the end and
discarded, I can't see why those can't be quickly and easily updated. Where the
StringBuffer is persisted beyond one method in any way, or passed outside the
method, then someone would need to think a little bit.

Does someone fancy updating the StringBuffer instances where are self contained
(eg used in toString() methods)? We can then review what's left, which'll
hopefully be a much smaller list

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message