[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1171) Make constructor Fqn(List<E> names, boolean safe) public

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Aug 24 14:25:28 EDT 2007


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


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