diff options
author | Klaus Trainer <klaus_trainer@apache.org> | 2017-05-17 11:11:19 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2017-05-18 23:39:09 +0200 |
commit | e41e47c2b4b2407bac525d203b281c63fb253978 (patch) | |
tree | 48cf53a5f8a28733a0cb250dc682c46b75b06dec /doc/specs | |
parent | a576896398f03d1854f128479d31659446c51027 (diff) | |
download | thrift-e41e47c2b4b2407bac525d203b281c63fb253978.tar.gz |
THRIFT-4204 typo in compact spec
Client: Documentaion
Patch: Klaus Trainer
This closes #1270
Diffstat (limited to 'doc/specs')
-rw-r--r-- | doc/specs/thrift-compact-protocol.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/specs/thrift-compact-protocol.md b/doc/specs/thrift-compact-protocol.md index d2e18a92f..02467dd19 100644 --- a/doc/specs/thrift-compact-protocol.md +++ b/doc/specs/thrift-compact-protocol.md @@ -151,7 +151,7 @@ determine how to decode the field value. Note that the field name is not encoded so field renames in the IDL do not affect forward and backward compatibility. The default Java implementation (Apache Thrift 0.9.1) has undefined behavior when it tries to decode a field that has -another field-type then what is expected. Theoretically this could be detected at the cost of some additional checking. +another field-type than what is expected. Theoretically this could be detected at the cost of some additional checking. Other implementation may perform this check and then either ignore the field, or return a protocol exception. A *Union* is encoded exactly the same as a struct with the additional restriction that at most 1 field may be encoded. |