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

Jamil Nimeh jnimeh at openjdk.java.net
Tue Dec 22 17:34:56 UTC 2020


On Tue, 22 Dec 2020 17:16:15 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

> 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

Looks fine.

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

Marked as reviewed by jnimeh (Reviewer).

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



More information about the security-dev mailing list