summaryrefslogtreecommitdiff
path: root/doc/specs
diff options
context:
space:
mode:
authorKlaus Trainer <klaus_trainer@apache.org>2017-05-17 11:11:19 +0200
committerJens Geyer <jensg@apache.org>2017-05-18 23:39:09 +0200
commite41e47c2b4b2407bac525d203b281c63fb253978 (patch)
tree48cf53a5f8a28733a0cb250dc682c46b75b06dec /doc/specs
parenta576896398f03d1854f128479d31659446c51027 (diff)
downloadthrift-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.md2
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.