THRIFT-240. java: TBase should implement Cloneable

The TBase interface now extends Cloneable.



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@736691 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/java/src/org/apache/thrift/TBase.java b/lib/java/src/org/apache/thrift/TBase.java
index faf1435..aaf17e4 100644
--- a/lib/java/src/org/apache/thrift/TBase.java
+++ b/lib/java/src/org/apache/thrift/TBase.java
@@ -13,7 +13,7 @@
  *
  * @author Mark Slee <mcslee@facebook.com>
  */
-public interface TBase  {
+public interface TBase extends Cloneable {
 
   /**
    * Reads the TObject from the given input protocol.