[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-166) create EmptyAsset

Dan Allen (JIRA) jira-events at lists.jboss.org
Sun May 2 22:39:05 EDT 2010


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
            Priority: Minor


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