Skip to content

Conversation

@nlisker
Copy link
Collaborator

@nlisker nlisker commented Aug 18, 2022

Fixes the mistakes in the JBS ticket and some additional minor corrections.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/880/head:pull/880
$ git checkout pull/880

Update a local copy of the PR:
$ git checkout pull/880
$ git pull https://git.openjdk.org/jfx pull/880/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 880

View PR using the GUI difftool:
$ git pr show -t 880

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/880.diff

@nlisker nlisker marked this pull request as ready for review August 18, 2022 23:52
@bridgekeeper
Copy link

bridgekeeper bot commented Aug 18, 2022

👋 Welcome back nlisker! A progress list of the required criteria for merging this PR into jfx19 will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@nlisker nlisker mentioned this pull request Aug 18, 2022
3 tasks
@openjdk openjdk bot added the rfr Ready for review label Aug 18, 2022
@mlbridge
Copy link

mlbridge bot commented Aug 19, 2022

Webrevs

Copy link
Contributor

@andy-goryachev-oracle andy-goryachev-oracle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would these changes require a CSR? Or, since they are just corrections, the API did not really change?
Otherwise, looks good. Thank you for cleaning up the docs!

@nlisker
Copy link
Collaborator Author

nlisker commented Aug 19, 2022

Would these changes require a CSR? Or, since they are just corrections, the API did not really change? Otherwise, looks good. Thank you for cleaning up the docs!

Usually they don't since there are no spec changes.

@kevinrushforth
Copy link
Member

I took a quick look and don't see anything that would warrant a CSR. I'll confirm when I review.

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments inline.

@nlisker
Copy link
Collaborator Author

nlisker commented Aug 23, 2022

When looking at Service I noticed that in Worker the property docs are on the get methods instead of on the property methods: https://openjfx.io/javadoc/18/javafx.graphics/javafx/concurrent/Worker.html#getState()

This causes Service to inherit these as well. Docs should only appear on the property (except in special circumstances), but I didn't want to touch all of this here. Should I create a new issue for this or is it not worth it?

@kevinrushforth
Copy link
Member

When looking at Service I noticed that in Worker the property docs are on the get methods instead of on the property methods ...

This causes Service to inherit these as well. Docs should only appear on the property (except in special circumstances), but I didn't want to touch all of this here. Should I create a new issue for this or is it not worth it?

I recommend to file a new issue. We can target it for JavaFX 20.

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with one optional suggestion.

* <p>
* Since {@code Formatter} contains a value which represents the state of the {@code TextInputControl} to which it is currently assigned, a single
* {@code Formatter} instance can be used only in one {@code TextInputControl} at a time.
* Since {@code Formatter} contains a value which represents the state of the {@code TextInputControl} to which it is
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more thing I noticed: "contains a value which" could be changed to "contains a value that"

@openjdk
Copy link

openjdk bot commented Aug 23, 2022

@nlisker 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:

8286678: Fix mistakes in FX API docs

Reviewed-by: kcr

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 jfx19 branch:

  • 5c00783: 8291906: Bindings.createXxxBinding inherit incorrect method docs

Please see this link for an up-to-date comparison between the source branch of this pull request and the jfx19 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 jfx19 branch, type /integrate in a new comment.

@openjdk openjdk bot added the ready Ready to be integrated label Aug 23, 2022
@nlisker
Copy link
Collaborator Author

nlisker commented Aug 23, 2022

/integrate

@openjdk openjdk bot removed the ready Ready to be integrated label Aug 23, 2022
@openjdk
Copy link

openjdk bot commented Aug 23, 2022

@nlisker This pull request has not yet been marked as ready for integration.

@openjdk openjdk bot added the ready Ready to be integrated label Aug 23, 2022
@nlisker
Copy link
Collaborator Author

nlisker commented Aug 23, 2022

/integrate

@openjdk
Copy link

openjdk bot commented Aug 23, 2022

Going to push as commit 8b96776.
Since your change was applied there has been 1 commit pushed to the jfx19 branch:

  • 5c00783: 8291906: Bindings.createXxxBinding inherit incorrect method docs

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Aug 23, 2022
@openjdk openjdk bot closed this Aug 23, 2022
@openjdk openjdk bot removed ready Ready to be integrated rfr Ready for review labels Aug 23, 2022
@openjdk
Copy link

openjdk bot commented Aug 23, 2022

@nlisker Pushed as commit 8b96776.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@nlisker nlisker deleted the 8286678_Fix_mistakes_in_FX_API_docs branch August 23, 2022 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

4 participants