RFR: 8258828: The method local variable is not really used

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Tue Dec 22 17:21:03 UTC 2020


The local variable "knownSignatureSchemes" in the CRSignatureSchemesConsumer.consume() method is assigned, but it is not really queried. It is safe to remove the local variable and the related code.

Code cleanup, no new regression test.

Bug: https://bugs.openjdk.java.net/browse/JDK-8258828

-------------

Commit messages:
 - 8258828: The method local variable is not really used

Changes: https://git.openjdk.java.net/jdk/pull/1867/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1867&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8258828
  Stats: 11 lines in 1 file changed: 2 ins; 8 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1867.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1867/head:pull/1867

PR: https://git.openjdk.java.net/jdk/pull/1867



More information about the security-dev mailing list