THRIFT-240. java: TBase should implement Cloneable
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 22 Jan 2009 16:27:16 +0000 (16:27 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 22 Jan 2009 16:27:16 +0000 (16:27 +0000)
The TBase interface now extends Cloneable.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@736691 13f79535-47bb-0310-9956-ffa450edef68

lib/java/src/org/apache/thrift/TBase.java

index faf1435..aaf17e4 100644 (file)
@@ -13,7 +13,7 @@ import org.apache.thrift.protocol.TProtocol;
  *
  * @author Mark Slee <mcslee@facebook.com>
  */
-public interface TBase  {
+public interface TBase extends Cloneable {
 
   /**
    * Reads the TObject from the given input protocol.