You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Andrew Zhang (JIRA)" <ji...@apache.org> on 2016/01/04 12:34:39 UTC
[jira] [Created] (THRIFT-3517) Default value of enum is starting at
zero in Java
Andrew Zhang created THRIFT-3517:
------------------------------------
Summary: Default value of enum is starting at zero in Java
Key: THRIFT-3517
URL: https://issues.apache.org/jira/browse/THRIFT-3517
Project: Thrift
Issue Type: Documentation
Reporter: Andrew Zhang
Priority: Trivial
https://github.com/apache/thrift/blob/master/tutorial/tutorial.thrift#L88
The tutorial said "Values are optional and start at 1 if not supplied", but it start at 0 in Java.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)