-
Notifications
You must be signed in to change notification settings - Fork 6.2k
JDK-8296661 : Typo Found In CSSParser.java #10975
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
I suspect a typo in the documentation comments.
|
👋 Welcome back scientificware! A progress list of the required criteria for merging this PR into |
|
@scientificware The following label 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 list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
aivanov-jdk
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.
Looks good to me.
In the description above: “…invoked one per property…”, it shoud be “once”.
I think there's room for improvement. However, this is an internal-only class.
| * <p> | ||
| * This will preserve case. If the callback wishes to treat certain poritions | ||
| * This will preserve case. If the callback wishes to treat certain portions | ||
| * case insensitively (such as selectors), it should use toLowerCase, or |
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.
Should this be “case-insensitively” with the hyphen?
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.
case-insensitively seems to be the most common usage in this repository.
|
You have to update the subject of the PR to match the JBS title which was edited by someone to be more specific. |
|
@scientificware 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 1153 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 (@aivanov-jdk, @prrace) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
/sponsor |
|
@aivanov-jdk The change author (@scientificware) must issue an |
|
/integrate |
|
@scientificware |
Replace one by once.
Add hyphen to "case insensitively". "case-insensitively" seems to be the common usage in the jdk repository.
This is what I have in mind. The list of callbacks is inconsistent in how the method and conditions when it's called are listed. One of the list items has no ending punctuation. Some portions of text should use I think Both The usage of What do you think? |
|
@aivanov-jdk Done. |
|
@scientificware 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! |
|
Please, don't close this PR. |
|
I think a Reviewer needs to re-review before it asks for sponsoring. @aivanov-jdk: re-approve changes? |
src/java.desktop/share/classes/javax/swing/text/html/CSSParser.java
Outdated
Show resolved
Hide resolved
do we know why this test is failing? |
Doesn't matter; it's javadoc changes only. Pre-submit tests randomly fail sometimes for no good reason. |
No .. I think that the person who owns the PR needs to re-do the /integrate and that is what will make the sponsor label re-appear. |
The year in the copyright headers should be updated to 2023
|
/integrate |
|
@scientificware |
andy-goryachev-oracle
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.
excellent
|
/sponsor |
|
@andy-goryachev-oracle Only Committers are allowed to sponsor changes. |
|
/sponsor |
|
Going to push as commit 9f0887e.
Your commit was automatically rebased without conflicts. |
|
@aivanov-jdk @scientificware Pushed as commit 9f0887e. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Sorry, @scientificware, I missed the update. After making changes, you have to issue In fact, I didn't mean to include the changes I suggested in this PR. I still think there's room for improvement, however, it's not visible publicly. The list is inconsistent: “The delegate is notified of the following events:” — one would expect a list of events. Instead, each list item starts differently. If I may suggest, starting each item with a callback method followed by the condition when it's called and additional details will present a more consistent documentation. The introduction sentence before the list may also be updated. |
|
@aivanov-jdk Thanks. |
This is referenced in Java Bug Database as
This is tracked in JBS as
I suspect a typo in the documentation comments.
Designed from : ScientificWare JDK-8296661 : Typo Found In CSSParser.java
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/10975/head:pull/10975$ git checkout pull/10975Update a local copy of the PR:
$ git checkout pull/10975$ git pull https://git.openjdk.org/jdk pull/10975/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 10975View PR using the GUI difftool:
$ git pr show -t 10975Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/10975.diff