[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKWRAP-174) UrlAsset is mutable
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Tue May 25 14:18:54 EDT 2010
[ https://jira.jboss.org/browse/SHRINKWRAP-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12532382#action_12532382 ]
Andrew Lee Rubinger commented on SHRINKWRAP-174:
------------------------------------------------
Good one for a community contributor. Commit alongside a test case.
> UrlAsset is mutable
> -------------------
>
> Key: SHRINKWRAP-174
> URL: https://jira.jboss.org/browse/SHRINKWRAP-174
> Project: ShrinkWrap
> Issue Type: Bug
> Components: api
> Reporter: Andrew Lee Rubinger
>
> Because URLs are mutable, they must be defensively copied upon construction when creating a new UrlAsset. Else the client may switch out the URL target away from what's expected after the Asset is created.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list