From c2d4c77c5aec372bd4f265d6bff6a55c05c6e7c1 Mon Sep 17 00:00:00 2001 From: Roshan George Date: Fri, 15 May 2015 21:52:06 -0700 Subject: [PATCH] THRIFT-3157 Make TBase signature more explicit Client: Java Patch: Roshan George This closes #498 --- lib/java/src/org/apache/thrift/TBase.java | 2 +- lib/java/src/org/apache/thrift/TUnion.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/java/src/org/apache/thrift/TBase.java b/lib/java/src/org/apache/thrift/TBase.java index b3ed1bce0..8aba8a298 100644 --- a/lib/java/src/org/apache/thrift/TBase.java +++ b/lib/java/src/org/apache/thrift/TBase.java @@ -27,7 +27,7 @@ import org.apache.thrift.protocol.TProtocol; * Generic base interface for generated Thrift objects. * */ -public interface TBase, F extends TFieldIdEnum> extends Comparable, Serializable { +public interface TBase, F extends TFieldIdEnum> extends Comparable, Serializable { /** * Reads the TObject from the given input protocol. diff --git a/lib/java/src/org/apache/thrift/TUnion.java b/lib/java/src/org/apache/thrift/TUnion.java index 3052ee140..13f9c6774 100644 --- a/lib/java/src/org/apache/thrift/TUnion.java +++ b/lib/java/src/org/apache/thrift/TUnion.java @@ -34,7 +34,7 @@ import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; import org.apache.thrift.scheme.TupleScheme; -public abstract class TUnion, F extends TFieldIdEnum> implements TBase { +public abstract class TUnion, F extends TFieldIdEnum> implements TBase { protected Object value_; protected F setField_;