/[Apache-SVN]
ViewVC logotype

Revision 722332


Jump to revision: Previous Next
Author: dreiss
Date: Tue Dec 2 02:06:31 2008 UTC (15 years, 11 months ago)
Changed paths: 3
Log Message:
THRIFT-138. java: Create deep-copy constructors for Thrift structs

- Create a copy constructor for every Thrift struct.  The constructor
  performs a deep copy on the argument, resulting in no shared state.
- Make thrift structions implement Cloneable and implement .clone()
  using the copy constructor.


Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed
Directoryincubator/thrift/trunk/test/java/build.xml modified , text changed
Directoryincubator/thrift/trunk/test/java/src/DeepCopyTest.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26