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

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Tue Dec 22 19:46:58 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

This pull request has now been integrated.

Changeset: 47c9b437
Author:    Xue-Lei Andrew Fan <xuelei at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/47c9b437
Stats:     11 lines in 1 file changed: 2 ins; 8 del; 1 mod

8258828: The method local variable is not really used

Reviewed-by: jnimeh, wetmore

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

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



More information about the security-dev mailing list