You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2017/05/18 21:39:51 UTC

thrift git commit: THRIFT-4204 typo in compact spec Client: Documentaion Patch: Klaus Trainer

Repository: thrift
Updated Branches:
  refs/heads/master a57689639 -> e41e47c2b


THRIFT-4204 typo in compact spec
Client: Documentaion
Patch: Klaus Trainer

This closes #1270


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/e41e47c2
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/e41e47c2
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/e41e47c2

Branch: refs/heads/master
Commit: e41e47c2b4b2407bac525d203b281c63fb253978
Parents: a576896
Author: Klaus Trainer <kl...@apache.org>
Authored: Wed May 17 11:11:19 2017 +0200
Committer: Jens Geyer <je...@apache.org>
Committed: Thu May 18 23:39:09 2017 +0200

----------------------------------------------------------------------
 doc/specs/thrift-compact-protocol.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/e41e47c2/doc/specs/thrift-compact-protocol.md
----------------------------------------------------------------------
diff --git a/doc/specs/thrift-compact-protocol.md b/doc/specs/thrift-compact-protocol.md
index d2e18a9..02467dd 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.