commit | 27c97857582b79f9ca684e03641d1cf81e8916e3 | [log] [tgz] |
---|---|---|
author | Bryan Duxbury <bryanduxbury@apache.org> | Tue Mar 23 03:50:16 2010 +0000 |
committer | Bryan Duxbury <bryanduxbury@apache.org> | Tue Mar 23 03:50:16 2010 +0000 |
tree | c74bd75a15eed2789278f92bc59f3755e8435a73 | |
parent | 318a328aec8062d6edf5efcd41dc8702a8595253 [diff] |
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. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@926460 13f79535-47bb-0310-9956-ffa450edef68