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

DerivableSchemaNode API incorrect Javadoc

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 2202

    Description

      Interface DerivableSchemaNode, method getOriginal() contains incorrect Javadoc:

      @return original node definition from grouping if this node is added by uses, null otherwise

      Any implementation of this method never returns null. In fact, it returns Original.absent in case when parameter is null.

      I propose this change:

      @return original node definition from grouping if this node is added by uses, Optional.absent otherwise

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            martin.ciglan Martin Ciglan
            martin.ciglan Martin Ciglan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: