Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-166

create EmptyAsset

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Minor Minor
    • 1.0.0-alpha-10
    • 1.0.0-alpha-9
    • api
    • None
    • Documentation (Ref Guide, User Guide, etc.)

      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")

              arubinge@redhat.com Andrew Rubinger (Inactive)
              dan.j.allen Dan Allen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: