Issue Details (XML | Word | Printable)

Key: NUCCORE-555
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Minor Minor
Assignee: Unassigned
Reporter: Fernando Padilla
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

StringBuffer used throughout, when StringBuilder should be preferred

Created: 27/Jul/10 09:00 AM   Updated: 20/Oct/10 09:29 AM   Resolved: 21/Sep/10 01:34 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
Actually, if you search for "StringBuffer" you find at least 548 instances of it, and even a cursory review, it looks like most of those situations they should be using StringBuilder instead since they do not need the be synchronized. This will help with performance.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 21/Sep/10 01:34 PM
Look at NUCCORE-563 since that dups this

Fernando Padilla added a comment - 21/Sep/10 06:21 PM
oops. forgot that i had opened this bug. should have added the patch to this one, sorry.