[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-353) Support for cloning a Archive
Andrew Rubinger (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Nov 14 08:06:40 EST 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642512#comment-12642512 ]
Andrew Rubinger commented on SHRINKWRAP-353:
--------------------------------------------
I'd like to avoid using "Object.clone" for reasons cited in Effective Java Item 11.
> Support for cloning a Archive
> ------------------------------
>
> Key: SHRINKWRAP-353
> URL: https://issues.jboss.org/browse/SHRINKWRAP-353
> Project: ShrinkWrap
> Issue Type: Feature Request
> Components: api, impl-base
> Affects Versions: 1.0.0-cr-1
> Reporter: Aslak Knutsen
>
> {code}
> war2 = war.clone()
> war.delete("file.txt")
> Assert.assertTrue(war2.contains("file.text"))
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list