-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
8299563: Fix typos #10029
8299563: Fix typos #10029
Conversation
Hi @mernst, 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 mernst" 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 |
@mernst 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. |
@@ -753,7 +753,7 @@ ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm, | |||
Then no more input data should be provided before the deflateParams() call. | |||
If this is done, the old level and strategy will be applied to the data | |||
compressed before deflateParams(), and the new level and strategy will be | |||
applied to the the data compressed after deflateParams(). | |||
applied to the data compressed after deflateParams(). |
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.
This is an issue for the upstream zlib project, we probably don't want to change it here.
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.
Agree. See madler/zlib@5752b17 which is in the zlib development branch and addresses a wide range of typos.
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.
OK. I backed out the change to zlib.
Hello Michael @mernst, these changes are mostly fine. However, they are spread across files which reside in different areas of the JDK. For changes like these, we usually split up the changes into different PRs to help reviewers of specific areas focus on the individual PRs. Would you be willing to split this PR into separate ones. I would recommend starting with one PR which includes changes that are part of |
Can you be specific about the exact problems that you noticed that prevented you from saying "these changes are fine"? It doesn't seem useful to make a pull request with known deficiencies.
Feel free to split up the pull request, if you feel that specific expertise in specific parts of the JDK is necessary to review these changes. |
@@ -1050,7 +1050,7 @@ public int indexOf(int elem) | |||
* you call getCurrentPos() and the return is 0, the next | |||
* fetch will take place at index 1. | |||
* | |||
* @return The the current position index. | |||
* @return The current position index. |
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.
Note that there is an inconsistent change here, albeit insignificant. In NodeSet
, the capital 'The' is removed after the @return
, while the lowercase 'the' is removed here.
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.
Thanks for pointing out the inconsistency. I have fixed it. (I noticed many violations of the official Javadoc style, but this is not the right pull request to fix them.)
These changes are fine. I don't see an instance where the duplicated words would mean a change in the specification. |
Hello Michael,
I wasn't implying this PR had deficiencies. What I meant was, to be able to have this reviewed, in addition to code changes this will also need a issue to be created and linked to this PR (and the PR title changed to the form |
OK. I'll repeat my comment from before:
|
@mernst this pull request can not be integrated into git checkout typos-typos
git fetch https://git.openjdk.org/jdk master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
@AlanBateman |
@AlanBateman |
@AlanBateman |
@mernst 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 2 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the 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, @aivanov-jdk, @sspitsyn) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Michael, I've reviewed the changes but the JDK-8294321 seems to be already resolved. So, what JBS issue are you actually trying to fix? |
It's closed because #11385 used it to fix some of the typos. #11385 should have used a new issue, but now instead a new issue is needed for the remaining typos. |
Hello Michael, I've created https://bugs.openjdk.org/browse/JDK-8299563 to track this final few typos. Could you please update the title of this PR to |
/integrate |
/sponsor |
Going to push as commit 7dcc689.
Your commit was automatically rebased without conflicts. |
@aivanov-jdk @mernst Pushed as commit 7dcc689. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Thank you @jaikiran @LanceAndersen @aivanov-jdk ! |
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/10029/head:pull/10029
$ git checkout pull/10029
Update a local copy of the PR:
$ git checkout pull/10029
$ git pull https://git.openjdk.org/jdk pull/10029/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 10029
View PR using the GUI difftool:
$ git pr show -t 10029
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/10029.diff