DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
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

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.