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

ObjectRegistration should not allow null objects

    XMLWordPrintable

Details

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

    • 7698

    Description

      Null references are overall evil and allowing them to pass through registration objects results in unpredictable failures in code executing after the registration is done.

      Do not allow AbstractObjectRegistration to be instantiated with a null object and document ObjectRegistration as returning non-null instance.

      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:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: