Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-74

null check for mandatory fields

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • Resolution: Unresolved
    • None
    • None
    • Binding codegen
    • None
    • Operating System: All
      Platform: All

    Description

      It would be nice to add null check to generated java DTO for attributes which represents elements with "mandatory true" in yang.

      Preconditions.checkNotNull could be added in a constructor of java DTO implementation.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              msunal@cisco.com Martin Sunal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: