From 75d879ab47f24cfa12dbd2057afa6df5c12a9df5 Mon Sep 17 00:00:00 2001 From: Roshan George Date: Fri, 15 May 2015 21:56:15 -0700 Subject: [PATCH] THRIFT-3158 Make deepcopy return T Client: Java Patch: Roshan George This closes #499 --- lib/java/src/org/apache/thrift/TBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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