On Sat, 23 Oct 2021 14:04:07 GMT, Andrey Turbanov <d...@openjdk.java.net> wrote:

> Cleanup unused local variables. Looks like they are leftovers after 
> refactoring.

src/java.base/share/classes/sun/security/rsa/RSAPSSSignature.java line 211:

> 209:         AlgorithmParameterSpec keyParams = rsaKey.getParams();
> 210:         // validate key parameters
> 211:         if (!isCompatible(keyParams, this.sigParams)) {

Why not remove the assignment on line 209? This is more consistent with your 
fix this time.

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

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

Reply via email to