Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3517

Default value of enum is starting at zero in Java

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Tutorial
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xyz Yunze Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: