RFR: 8293886: The abstract keyword can be removed in AESCipher

Xue-Lei Andrew Fan xuelei at openjdk.org
Fri Sep 16 00:45:22 UTC 2022


Hi,

Please review this simple fix for readability.

In the AES cipher implementation, the AESCipher class is defined as abstract.  As is not necessary as there is no abstract method in this class. Code reader may try to search for abstract methods if the abstract keyword is present.

BTW, I also added Override tags and make a few other cleanup, for example adding the 'final' keywords.

Thanks,
Xuelei

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

Commit messages:
 - update copyright year
 - 8293886: The abstract keyword can be removed in AESCipher

Changes: https://git.openjdk.org/jdk/pull/10297/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10297&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293886
  Stats: 27 lines in 1 file changed: 18 ins; 2 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/10297.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10297/head:pull/10297

PR: https://git.openjdk.org/jdk/pull/10297


More information about the security-dev mailing list