Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1220

Switch non-existent arguments to Empty instead of Void

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 7.0.0
    • parser
    • None

    Description

      We currently allow ModelStatement.argument() to return null for the purposes on supporting argumentless statements.

      We really want to make sure nulls do no occur – and for that yang.common.Empty is a much better fit.

      Convert all Void use to Empty, making sure ModelStatement.argument() always returns non-null.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: