Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8259291

Cleanup unnecessary local variables

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: security-libs
    • Labels:

      Description

      In the SunJSSE provider implementation, there are a few local variables that is not necessary. For example:

          byte[] finished = prfKey.getEncoded();
          return finished;

      could be simplified as:
          return prfKey.getEncoded();

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xuelei Xue-Lei Fan
              Reporter:
              xuelei Xue-Lei Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: