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

Add @CheckReturnValue on YANG RPC generated interfaces extending RpcService

    XMLWordPrintable

Details

    • Improvement
    • Status: Verified
    • Medium
    • Resolution: Done
    • None
    • None
    • None

    Description

      Having a @CheckReturnValue annotation always generated would make perfect sense IMHO, because we could then use that in static code analysis to ensure that all users of the RPC do check the Future RpcResult for errors - even if there is no Output.

      The "@CheckReturnValue on YANG RPC generated interfaces extending RpcService" thread on https://lists.opendaylight.org/pipermail/mdsal-dev/2017-November/thread.html has the full background.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            JieHan2017 Jie Han
            JieHan2017 Jie Han
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: