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

Update MutableTreeNode methods

    XMLWordPrintable

Details

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

    Description

      yang.data.api.schema.tree.spi.MutableTreeNode acts as a lazy intermediary between ModificationApplyOperation and a backing Map. Its addChild() and removeChild() hide lifecycle events, making it impossible to discern when a child was replaced by addChild() and what child was removed by removeChild().

      Update these methods (renaming addChild() to putChild()) to match map semantics.

      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: