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

Generate missing @Nullable annotations for Java iterator getters

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • Java - Compiler
    • None

    Description

      This is a brief follow-up to THRIFT-4530.  In that change, we neglected to generate `@Nullable` annotations for iterator getters for sets and lists.  They can clearly return null; see here  The code change is a one-liner.  Will open a GitHub PR with the change. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              msridhar Manu Sridharan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: