diff options
author | Nobuaki Sukegawa <nsuke@apache.org> | 2016-03-25 09:37:18 +0900 |
---|---|---|
committer | Nobuaki Sukegawa <nsuke@apache.org> | 2016-03-29 12:03:34 +0900 |
commit | eb344a81913234183bd5f4ab63a872ca165d308d (patch) | |
tree | c7853ac954196a1bf84a322d6d9913100eec241e /test/ThriftTest.thrift | |
parent | f43d0ca6e57c4c30ea742e5f80e086288e999ecb (diff) | |
download | thrift-eb344a81913234183bd5f4ab63a872ca165d308d.tar.gz |
THRIFT-3762 Fix warnings for deprecated Thrift "byte" fields
This closes #967
Diffstat (limited to 'test/ThriftTest.thrift')
-rw-r--r-- | test/ThriftTest.thrift | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ThriftTest.thrift b/test/ThriftTest.thrift index 20929d46b..56adf3971 100644 --- a/test/ThriftTest.thrift +++ b/test/ThriftTest.thrift @@ -80,7 +80,7 @@ struct Bools { struct Xtruct { 1: string string_thing, - 4: byte byte_thing, + 4: i8 byte_thing, 9: i32 i32_thing, 11: i64 i64_thing } @@ -158,7 +158,7 @@ service ThriftTest * @param byte thing - the i8/byte to print * @return i8 - returns the i8/byte 'thing' */ - i8 testByte(1: byte thing), + i8 testByte(1: i8 thing), /** * Prints 'testI32("%d")' with thing as '%d' @@ -271,7 +271,7 @@ service ThriftTest /** * Prints 'testMulti()' - * @param byte arg0 - + * @param i8 arg0 - * @param i32 arg1 - * @param i64 arg2 - * @param map<i16, string> arg3 - @@ -280,7 +280,7 @@ service ThriftTest * @return Xtruct - returns an Xtruct with string_thing = "Hello2, byte_thing = arg0, i32_thing = arg1 * and i64_thing = arg2 */ - Xtruct testMulti(1: byte arg0, 2: i32 arg1, 3: i64 arg2, 4: map<i16, string> arg3, 5: Numberz arg4, 6: UserId arg5), + Xtruct testMulti(1: i8 arg0, 2: i32 arg1, 3: i64 arg2, 4: map<i16, string> arg3, 5: Numberz arg4, 6: UserId arg5), /** * Print 'testException(%s)' with arg as '%s' @@ -331,7 +331,7 @@ struct VersioningTestV2 { 1: i32 begin_in_both, 2: i32 newint, - 3: byte newbyte, + 3: i8 newbyte, 4: i16 newshort, 5: i64 newlong, 6: double newdouble |