-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8282657: Code cleanup: removing double semicolons at the end of lines #7268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi @matteobaccan, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user matteobaccan" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
|
/signed |
|
@matteobaccan The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
|
Thank you! Please allow for up to two weeks to process your OCA, although it is usually done within one to two business days. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
|
@matteobaccan 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! |
|
Hi I have pushed this PR about 1 month ago. Only 3 days ago OCA was accepted. This is a cleanup PR that removes some double semicolons at the end of some lines inside the JDK code. ciao |
|
The next step would be to create a relevant issue on the tracker and set it to track this PR. Since you don't have the ability to create new issues on the JBS yet I'll help you create one, please rename your PR title to 8282657 and the system should take care of the rest and automatically mark your PR as ready for review after setting it to track the corresponding JBS entry. Cheers, |
LanceAndersen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look OK. The copyright year probably should be updated as part of this PR
|
Hi Lance I can make a second commit updating the copyright year Tell me if this is necessary ciao |
RogerRiggs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We usually request that these be be broken up by area to attract the appropriate reviewers and avoid eye-strain. The client modules are usually separated out, as are hotspot.
And corresponding tests.
This kind of change is pretty low value for the code base and requires the involvement of quite a few reviewers.
If you had ask ahead of time, I would have suggested finding something with more value.
irisclark
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice tidy of the code.
Is there anything that can be done to prevent re-introduction of this trivial problem? Perhaps a new Skara bot jcheck option similar to what is already in place for trailing whitespace?
bradfordwetmore
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM also.
Similar suggestion for updating copyrights.
dholmes-ora
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I eyeballed the diff file and all seems okay.
Thanks,
David
|
Nice, good work matteo Should I change the JBS issue title to match the PR title, or is it preferred for the PR title to change? |
|
This PR changes a comment in javax/swing/RepaintManager.java. This commented out code should be removed altogether in another PR? Because its an System.out.println and because its commented out code. |
They need to match. You can either do it manually, or change the title to just the bug number and the bot will change it for you. |
Alright, I can't change the title of the PR, I guess it'll be easier for me to change the issue instead |
|
@matteobaccan 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: 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 393 new commits pushed to the
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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@LanceAndersen, @RogerRiggs, @magicus, @prrace, @irisclark, @bradfordwetmore, @jddarcy, @dholmes-ora) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
What problem are you having editing the PR header? You should be able to do so as the author of the PR |
|
But as the JBS title and PR title now match, this is a moot point. |
|
@LanceAndersen @kevinrushforth TheShermanTanker is not the author of this PR, he's just assisting the author by creating the JBS issue. |
|
/sponsor |
|
@magicus The change author (@matteobaccan) must issue an |
Ah, that explains it then. |
|
/integrate |
|
@matteobaccan |
|
/sponsor |
|
Going to push as commit ccad392.
Your commit was automatically rebased without conflicts. |
|
@magicus @matteobaccan Pushed as commit ccad392. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |

Hi
I have reviewed the code for removing double semicolons at the end of lines
all the best
matteo
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/7268/head:pull/7268$ git checkout pull/7268Update a local copy of the PR:
$ git checkout pull/7268$ git pull https://git.openjdk.java.net/jdk pull/7268/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 7268View PR using the GUI difftool:
$ git pr show -t 7268Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/7268.diff