RFR: 8275848: Deprecate mistakenly exposed field from class javafx.scene.shape.Box

Kevin Rushforth kcr at openjdk.java.net
Fri Oct 29 11:33:12 UTC 2021


On Fri, 29 Oct 2021 07:31:05 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:

> This PR deprecates mistakenly exposed field from class javafx.scene.shape.Box.

This looks good with one minor comment. Please also change the title of the JBS issues (both the bug and the CSR) and this PR to add "for removal" after "Deprecate". So maybe:


Deprecate for removal mistakenly exposed field from javafx.scene.shape.Box

modules/javafx.graphics/src/main/java/javafx/scene/shape/Box.java line 90:

> 88:     /**
> 89:      * Default size of the {@code Box}.
> 90:      * @deprecated This field was exposed mistakenly and will be removed

Can you add a period at the end?

-------------

PR: https://git.openjdk.java.net/jfx/pull/655


More information about the openjfx-dev mailing list