diff --git a/lib/java/src/org/apache/thrift/TBase.java b/lib/java/src/org/apache/thrift/TBase.java index 8aba8a298..ef70e5bb5 100644 --- a/lib/java/src/org/apache/thrift/TBase.java +++ b/lib/java/src/org/apache/thrift/TBase.java @@ -71,7 +71,7 @@ public interface TBase, F extends TFieldIdEnum> extends Com */ public void setFieldValue(F field, Object value); - public TBase deepCopy(); + public T deepCopy(); /** * Return to the state of having just been initialized, as though you had just