/[Apache-SVN]
ViewVC logotype

Revision 926460


Jump to revision: Previous Next
Author: bryanduxbury
Date: Tue Mar 23 03:50:16 2010 UTC (14 years, 7 months ago)
Changed paths: 5
Log Message:
THRIFT-739. java: TCompactProtocol isn't suitable for reuse in partialDeserialize

This patch changes TProtocol to support a reset() method that should clear any internal state. Stateless protocols can ignore it; stateful ones should implement it. TDeserializer has been updated to take advantage of this method.

Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/TDeserializer.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/protocol/TCompactProtocol.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/protocol/TJSONProtocol.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/protocol/TProtocol.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/test/org/apache/thrift/test/PartialDeserializeTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26