[
https://jira.jboss.org/jira/browse/JBPM-2148?page=com.atlassian.jira.plug...
]
Alejandro Guizar updated JBPM-2148:
-----------------------------------
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Fix Version/s: jBPM 4.0.CR1
(was: jBPM 4.x)
Heiko: the compiler substitutes StringBuilder in string concatenations with operator +. It
does not substitute explicit StringBuffer occurrences.
Tom: I made the changes while working on the email branch. Applying the patch to trunk was
the only thing left to be done here.
StringBuffer Use in jBPM 4
--------------------------
Key: JBPM-2148
URL:
https://jira.jboss.org/jira/browse/JBPM-2148
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.0.0 Alpha2
Reporter: Alejandro Guizar
Assignee: Alejandro Guizar
Fix For: jBPM 4.0.CR1
Attachments: string-builder.diff
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
In Java 5 and above, all string concatenations are compiled to StringBuilder, which is
faster than StringBuffer because it does not incur synchronization overhead. Unless we are
worried about thread concurrency in a given class, StringBuilder should be used in
preference to StringBuffer.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira