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

Generate missing @Nullable annotations for Java iterator getters

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Java - Compiler
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: