jdk
jdk copied to clipboard
8293886: The abstract keyword can be removed in AESCipher
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
Progress
- [ ] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
- [x] Change must not contain extraneous whitespace
- [x] Commit message must refer to an issue
Issue
- JDK-8293886: The abstract keyword can be removed in AESCipher
Reviewing
Using git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/10297/head:pull/10297
$ git checkout pull/10297
Update a local copy of the PR:
$ git checkout pull/10297
$ git pull https://git.openjdk.org/jdk pull/10297/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 10297
View PR using the GUI difftool:
$ git pr show -t 10297
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/10297.diff
:wave: Welcome back xuelei! A progress list of the required criteria for merging this PR into master
will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.
@XueleiFan The following label will be automatically applied to this pull request:
-
security
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.
@XueleiFan This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!
ping ...
@XueleiFan This change now passes all automated pre-integration checks.
ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.
After integration, the commit message for the final commit will be:
8293886: The abstract keyword can be removed in AESCipher
Reviewed-by: ascarpino, wetmore
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.
At the time when this comment was updated there had been 1 new commit pushed to the master
branch:
- 93fed9b251c21f20b68ddc4e179d6595275dbcd2: 8296448: RISC-V: Fix temp usages of heapbase register killed by MacroAssembler::en/decode_klass_not_null
Please see this link for an up-to-date comparison between the source branch of this pull request and the master
branch.
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
➡️ To integrate this PR with the above commit message to the master
branch, type /integrate in a new comment.
/integrate
Going to push as commit d6468be81fd2d639d5d79898d3cd8042d62261bd.
Since your change was applied there have been 11 commits pushed to the master
branch:
- 54c986e7d5d0b48a22b4da81c13153ce431c9f2f: 8296715: CLDR v42 update for tzdata 2022f
- 4a68210d9f6c59ec4289b2e2412a1ae0df17fd81: 6972078: Can not select single directory with GTKLookAndFeel
- 4465361ee9dff1ab6532f343318665b7e50c166e: 8295948: Support for Zicbop/prefetch instructions on RISC-V
- f2acdfdcbd2a49c1167656e73b67b38b545f9472: 8296638: RISC-V: NegVI node emits wrong code when vector element basic type is T_BYTE/T_SHORT
- bfc58165952a1d51ad2bfce60963633f17ac43ec: 8295475: Move non-resource allocation strategies out of ResourceObj
- e802b124b7a363ca4cb56f8072b4dde5176ef96a: 8296196: Class.getEnumConstants() throws undocumented ClassCastException and NullPointerException
- 78a08a0f2176d5eb4afffc06a7df2a1cea4ade4b: 8295430: Use cmsDoTransformLineStride instead of cmsDoTransform in the loop
- f0a6e71e4d63c9820659f6ff29f94d0476d48b09: 8295812: Skip the "half float" support in LittleCMS during the build
- 79c0092125ef01e2980f8072d7b295ce0c1a6077: 8285635: javax/swing/JRootPane/DefaultButtonTest.java failed with Default Button not pressed for L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel
- 0981bfb1a317466c095c392f82ddf6eae595f4af: 8296156: [macos] Resize DMG windows and background to fit additional DMG contents
- ... and 1 more: https://git.openjdk.org/jdk/compare/d6e2d0d03d2161f934474fa1d4299513d14cb9c5...master
Your commit was automatically rebased without conflicts.
@XueleiFan Pushed as commit d6468be81fd2d639d5d79898d3cd8042d62261bd.
:bulb: You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.