summaryrefslogtreecommitdiff
path: root/test/DocTest.thrift
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsuke@apache.org>2016-03-25 09:37:18 +0900
committerNobuaki Sukegawa <nsuke@apache.org>2016-03-29 12:03:34 +0900
commiteb344a81913234183bd5f4ab63a872ca165d308d (patch)
treec7853ac954196a1bf84a322d6d9913100eec241e /test/DocTest.thrift
parentf43d0ca6e57c4c30ea742e5f80e086288e999ecb (diff)
downloadthrift-eb344a81913234183bd5f4ab63a872ca165d308d.tar.gz
THRIFT-3762 Fix warnings for deprecated Thrift "byte" fields
This closes #967
Diffstat (limited to 'test/DocTest.thrift')
-rw-r--r--test/DocTest.thrift6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/DocTest.thrift b/test/DocTest.thrift
index 70575c114..d702b2c23 100644
--- a/test/DocTest.thrift
+++ b/test/DocTest.thrift
@@ -58,7 +58,7 @@ struct Xtruct
1: string string_thing
/** doct text goes before a comma */
- 4: byte byte_thing,
+ 4: i8 byte_thing,
9: i32 i32_thing,
11: i64 i64_thing
@@ -74,7 +74,7 @@ const map<string,string> MAPCONSTANT = {'hello':'world', 'goodnight':'moon'}
struct Xtruct2
{
- 1: byte byte_thing,
+ 1: i8 byte_thing,
2: Xtruct struct_thing,
3: i32 i32_thing
}
@@ -117,7 +117,7 @@ service ThriftTest
/** And this is how you would document functions in a service */
void testVoid(),
string testString(1: string thing),
- byte testByte(1: byte thing),
+ i8 testByte(1: byte thing),
i32 testI32(1: i32 thing),
/** Like this one */