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

Modernize DataTreeCandidateNode methods

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • 11.0.0
    • None
    • data-api

      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.

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

              Created:
              Updated:
              Resolved: