[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1171) Make constructor Fqn(List<E> names, boolean safe) public
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Tue Sep 18 12:57:12 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-1171?page=all ]
Manik Surtani updated JBCACHE-1171:
-----------------------------------
Fix Version/s: 2.1.0.GA
> Make constructor Fqn(List<E> names, boolean safe) public
> --------------------------------------------------------
>
> Key: JBCACHE-1171
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1171
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 2.0.0.GA
> Reporter: Brian Stansberry
> Assigned To: Manik Surtani
> Priority: Minor
> Fix For: 2.1.0.GA
>
>
> This constructor saves the cost of making a defensive copy of the passed in List. I've got some code that necessarily creates an ArrayList to pass to the Fqn c'tor, but there's no need to copy it; I hold no ref to the List. Being able to use this c'tor would be a minor optimization. I don't see any reason not to expose it as public; the javadoc for the constructor is clear about the proper usage.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list