You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Vitali Lovich (JIRA)" <ji...@apache.org> on 2013/02/13 11:46:23 UTC

[jira] [Created] (THRIFT-1855) deep-copy for collections of primitives should use copy-constructor

Vitali Lovich created THRIFT-1855:
-------------------------------------

             Summary: deep-copy for collections of primitives should use copy-constructor
                 Key: THRIFT-1855
                 URL: https://issues.apache.org/jira/browse/THRIFT-1855
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Compiler
            Reporter: Vitali Lovich


Instead of doing a manual element-wise copy, simply invoke the copy-constructor on the collection.  Additionally, if possible (i.e. not a sorted collection), provide a hint of the capacity when doing an element-wise copy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira