style: do not suppress this-escape (#5166)

This commit is contained in:
Piotr Idzik
2024-05-20 18:09:23 +02:00
committed by GitHub
parent 324969fc4e
commit 8be8b953ab
6 changed files with 5 additions and 6 deletions

View File

@ -47,7 +47,7 @@ public class RSA {
/**
* Generate a new public and private key set.
*/
public synchronized void generateKeys(int bits) {
public final synchronized void generateKeys(int bits) {
SecureRandom r = new SecureRandom();
BigInteger p = new BigInteger(bits / 2, 100, r);
BigInteger q = new BigInteger(bits / 2, 100, r);