Return value of Objects.requireNonNull call can be used

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • b69
    • generic
    • generic

        Objects.requireNonNull(obj) call is used as expression statement in many places and then "obj" is fetched again. Instead return value of Objects.requireNonNull could be used directly.

              Assignee:
              Sundararajan Athijegannathan
              Reporter:
              Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: