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

Reply via email to