]
Manik Surtani updated JBCACHE-1171:
-----------------------------------
Fix Version/s: 2.1.0.BETA1
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.BETA1, 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: