THRIFT-110. java: A more compact format
authorBryan Duxbury <bryanduxbury@apache.org>
Tue, 10 Feb 2009 04:49:39 +0000 (04:49 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Tue, 10 Feb 2009 04:49:39 +0000 (04:49 +0000)
commit538e344122315036f0abdd8f3fa89b7f9dd1d310
tree6b3b59b269a655bf89b796e58d038d0eba0a9da4
parent6ad6251951598e88f87245e325e29e31ba7126d2
THRIFT-110. java: A more compact format

This patch includes the Java implementation of the new Compact Protocol outlined in the issue and a matching test. It also creates Fixtures.java, a helper class that contains some useful test structure instances.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@742847 13f79535-47bb-0310-9956-ffa450edef68
lib/java/build.xml
lib/java/src/org/apache/thrift/protocol/TCompactProtocol.java [new file with mode: 0755]
lib/java/src/org/apache/thrift/protocol/TField.java
lib/java/src/org/apache/thrift/protocol/TMessage.java
lib/java/src/org/apache/thrift/protocol/TSet.java
lib/java/src/org/apache/thrift/transport/TMemoryBuffer.java
lib/java/test/org/apache/thrift/test/Fixtures.java [new file with mode: 0644]
lib/java/test/org/apache/thrift/test/TCompactProtocolTest.java [new file with mode: 0755]
test/DebugProtoTest.thrift