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

Update DataNodeContainer methods

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: