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

Cleanup unnecessary local variables

XMLWordPrintable

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

            xuelei Xuelei Fan
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: