[gatein-issues] [JBoss JIRA] (GTNPORTAL-2176) Wrong usage of String.intern() in UIUserSelector
Vu Viet Phuong (Resolved) (JIRA)
jira-events at lists.jboss.org
Wed Oct 19 07:29:45 EDT 2011
[ https://issues.jboss.org/browse/GTNPORTAL-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vu Viet Phuong resolved GTNPORTAL-2176.
---------------------------------------
Fix Version/s: 3.2.0-M02
Resolution: Done
> 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
>
>
> {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
More information about the gatein-issues
mailing list