You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Lev Walkin (JIRA)" <ji...@apache.org> on 2010/08/22 06:51:18 UTC

[jira] Updated: (THRIFT-860) copy method and reset method

     [ https://issues.apache.org/jira/browse/THRIFT-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lev Walkin updated THRIFT-860:
------------------------------

    Attachment: thrift-trunk-983568.patch

Deep copy and reset methods.

> copy method and reset method
> ----------------------------
>
>                 Key: THRIFT-860
>                 URL: https://issues.apache.org/jira/browse/THRIFT-860
>             Project: Thrift
>          Issue Type: Improvement
>          Components: OCaml - Compiler
>            Reporter: Lev Walkin
>            Assignee: Bryan Duxbury
>         Attachments: thrift-trunk-983568.patch
>
>
> The attached patch provides the class copying and reset-to-default values methods. The applicability and usefulness is obvious: in many cases the shallow object copying provided by Oo.copy is not sufficient, so a deep copy is needed. This patch provides a deep copy method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.