THRIFT-1015. java: TUnion does not handle ByteBuffer in toString
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 2 Dec 2010 21:29:20 +0000 (21:29 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 2 Dec 2010 21:29:20 +0000 (21:29 +0000)
commit22903cb542d16cb12bb848dfa6eabee26f0d1eb1
tree4ae7f0c64d73c29b8f45aa5b7e7ceb7f92c7ef0d
parentc0b5d9065c105ae73f11615717d6f071eba3e511
THRIFT-1015. java: TUnion does not handle ByteBuffer in toString

This patch adds a test case and fixes the toString method of TBaseHelper for ByteBuffers.

Patch: Takashi Yonebayashi

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1041590 13f79535-47bb-0310-9956-ffa450edef68
lib/java/src/org/apache/thrift/TUnion.java
lib/java/test/org/apache/thrift/TestTUnion.java