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

Default value of enum is starting at zero in Java

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tutorial
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              xyz Yunze Xu

              Dates

              • Created:
                Updated:

                Issue deployment