[shrinkwrap-issues] [JBoss JIRA] Resolved: (SHRINKWRAP-166) create EmptyAsset
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Mon May 3 14:18:05 EDT 2010
[ https://jira.jboss.org/jira/browse/SHRINKWRAP-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lee Rubinger resolved SHRINKWRAP-166.
--------------------------------------------
Fix Version/s: 1.0.0-alpha-10
Resolution: Done
Assignee: Andrew Lee Rubinger
> create EmptyAsset
> -----------------
>
> Key: SHRINKWRAP-166
> URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-166
> Project: ShrinkWrap
> Issue Type: Feature Request
> Components: api
> Affects Versions: 1.0.0-alpha-9
> Reporter: Dan Allen
> Assignee: Andrew Lee Rubinger
> Priority: Minor
> Fix For: 1.0.0-alpha-10
>
> Attachments: SHRINKWRAP-166-v1.txt
>
>
> Create EmptyAsset merely as a convenience of creating descriptors which have no content.
> For example:
> addManifestResource(new EmptyAsset(), "beans.xml")
> rather than
> addManifestResource(new ByteArrayAsset(new byte[0]), "beans.xml")
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list