Re: RFR: 8269216: Useless initialization in com/sun/crypto/provider/PBES2Parameters.java

2021-06-23 Thread Valerie Peng
On Wed, 23 Jun 2021 07:38:37 GMT, Aleksey Shipilev wrote: > SonarCloud reports: > "Remove or correct this useless self-assignment." > > > if (cipherAlgo.equals("AES")) { > this.keysize = keysize; // < here > switch (keysize) { > case 128: >

RFR: 8269216: Useless initialization in com/sun/crypto/provider/PBES2Parameters.java

2021-06-23 Thread Aleksey Shipilev
SonarCloud reports: "Remove or correct this useless self-assignment." if (cipherAlgo.equals("AES")) { this.keysize = keysize; // < here switch (keysize) { case 128: cipherAlgo_OID = aes128CBC_OID; Seems to be here since initial add