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

Reduce the number of conditional operators in RestconfStream

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • 7.0.0
    • None
    • restconf-nb

      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());

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

              Created:
              Updated:
              Resolved: