Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1211

Reduce the number of conditional operators in RestconfStream

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 7.0.0
    • restconf-nb

    Description

      Reduce the number of conditional operators in RestconfStream#addSubscriber method:

      It means simplify the following expression:

      final var textParams = new TextParameters(
                  leafNodes != null && leafNodes.value(),
                  skipData != null && skipData.value(),
                  changedLeafNodes != null && changedLeafNodes.value(),
                  childNodes != null && childNodes.value());

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            ojo Oleksandr Zharov
            ivanhrasko Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: