[
https://issues.jboss.org/browse/GTNPORTAL-2176?page=com.atlassian.jira.pl...
]
Vu Viet Phuong logged work on GTNPORTAL-2176:
---------------------------------------------
Author: Vu Viet Phuong
Created on: 19/Oct/11 10:41 PM
Start Date: 19/Oct/11 10:41 PM
Worklog Time Spent: 30 minutes
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes
Time Spent: 30 minutes
Worklog Id: (was: 12426001)
Wrong usage of String.intern() in UIUserSelector
------------------------------------------------
Key: GTNPORTAL-2176
URL:
https://issues.jboss.org/browse/GTNPORTAL-2176
Project: GateIn Portal
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Hai Nguyen
Assignee: Vu Viet Phuong
Priority: Minor
Labels: portal-s62, synced
Fix For: 3.2.0-M02
Time Spent: 30 minutes
Remaining Estimate: 0 minutes
{code:xml}
final public static String FIELD_KEYWORD = "Quick Search".intern();
final public static String FIELD_FILTER = "filter".intern();
final public static String FIELD_GROUP = "group".intern();
{code}
we should remove the String.intern() while initializing the constants. Those String
constants do not involve in any '==' operation (where String.intern() shows its
power)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira