Rich DiCroce created SHRINKWRAP-477:
---------------------------------------
Summary: Provide addX that takes a collection
Key: SHRINKWRAP-477
URL:
https://issues.jboss.org/browse/SHRINKWRAP-477
Project: ShrinkWrap
Issue Type: Feature Request
Affects Versions: 1.2.1
Reporter: Rich DiCroce
It would be nice to have Collection overloads for all the addX methods that take varargs.
For example, I wrote some utility methods that use Javassist to find all classes that a
given class depends on, in order to simplify the process of constructing a deployment.
These methods build up a Set<Class<?>>, which I then add to the Archive. But
while there is an addClasses(Class<?>... classes) method, there's no
addClasses(Collection<Class<?>> classes) method.
Obviously, this can be worked around by iterating over a Collection and using addClass()
or by converting the Set to an array and using addClasses(), but a Collection add method
would be a nice convenience.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira