[KULRICE-9041] Performance - MessageStructureUtils - translateStringMessage Created: 27/Feb/13  Updated: 16/Jan/15

Status: Open
Project: Kuali Rice Development
Component/s: Development, User Experience (UX)
Affects Version/s: 2.2
Fix Version/s: Backlog
Security Level: Public (Public: Anyone can view)

Type: Improvement Priority: Minor
Reporter: Jeff Domeyer (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Old
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relate
relates to KULRICE-6557 Improve Performance and Memory Consum... Closed
Similar issues:
KULRICE-13414Performance Testing
KULRICE-14089Create KC performance grid
KULRICE-3715Rice 1.0.1.1 Performance Enhancements
KULRICE-11170Create performance test plan
KULRICE-9042Spring - Performance
KULRICE-12919Performance tuning of KS course search
KULRICE-9313Perform experiment on cloning for performance improvements
KULRICE-8448Improve Role Performance
KULRICE-9895Install Jenkins Performance Plugin
KULRICE-13587Performance Report for Jerry
Epic Link: Performance
Rice Module:
KRAD
KRAD Feature Area:
Utility
KAI Review Status: Not Required
KTI Review Status: Not Required
Include in Release Notes?:
Yes

 Description   

The translateStringMessage could perform an additional regex match at the beginning of the process to short-circuit processing if an un-escaped left bracket is not found. The brackets seem to determine if the content of a message is rich-text enabled, so without them, it would seem unnecessary to perform any parsing.

This:
public static String translateStringMessage(String messageText) {
if (!StringUtils.isEmpty(messageText)) {

could be changed to this:


Generated at Thu Apr 02 19:12:10 CDT 2020 using JIRA 6.1.5#6160-sha1:a61a0fc278117a0da0ec9b89167b8f29b6afdab2.