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

Switch non-existent arguments to Empty instead of Void

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 7.0.0
    • None
    • parser
    • None

      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.

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

              Created:
              Updated:
              Resolved: