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

Update DataNodeContainer methods

    XMLWordPrintable

Details

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

    Description

      DataNodeContainer.getDataChildByName() is a @Nullable getter, which is used in that capacity all over the place. On the other hand a number of places would like to make that an assertion.

      Fix this by centering the implementation around dataChildByName(), which is nullable and then spinning Optional and non-null from that.

      Attachments

        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: