You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/06/02 18:05:43 UTC
[jira] Updated: (JCR-1423) [PATCH] fix clone implementation
[ https://issues.apache.org/jira/browse/JCR-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-1423:
-------------------------------
Status: Resolved (was: Patch Available)
Resolution: Won't Fix
Resolving as Won't Fix since I don't see much benefit in this change and since the patch no longer applies cleanly. Apologies for not reviewing this in a more timely manner.
> [PATCH] fix clone implementation
> --------------------------------
>
> Key: JCR-1423
> URL: https://issues.apache.org/jira/browse/JCR-1423
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core, jackrabbit-jcr2spi
> Reporter: Dave Brosius
> Priority: Trivial
> Attachments: fix_clone_impl.patch
>
>
> Several classes implement clone, by doing new XXXX() to create the object. As these classes aren't final, this will fail if these classes are ever derived from (which they are not, right now). The correct implementation is to call super.clone(). This patch fixes this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.