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

Modernize DataTreeCandidateNode methods

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 11.0.0
    • data-api

    Description

      DataTreeCandidateNode uses 'get' prefix, which results in either a straight value or an Optional. Modernize parlance to reflect non-null attributes, with find() methods returning Optional.

      This will allow downstream users to select what kind of API they want: @Nullable or Optional, and it paves the way for having some implementations to be backed by simple records with no fuss.

      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: