THRIFT-751. java: Add clear() method to TBase
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 5 Aug 2010 20:44:53 +0000 (20:44 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 5 Aug 2010 20:44:53 +0000 (20:44 +0000)
commit5226eeaaaa1789fccce5c7cf0a5cef0a38190df8
tree82a5e8e1f0e1e1e953d24840c8311799f118b138
parentc412a2fad4e25f73a72f9821fd297937d9b2abda
THRIFT-751. java: Add clear() method to TBase

This patch adds a clear() method to the TBase interface and causes the compiler to generate implementations.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@982774 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_java_generator.cc
lib/java/src/org/apache/thrift/TBase.java
lib/java/src/org/apache/thrift/TUnion.java