RFR: 8292376: A few Swing methods use inheritDoc on exceptions which are not inherited [v2]
Tejesh R
tr at openjdk.org
Tue Sep 6 16:58:11 UTC 2022
On Wed, 17 Aug 2022 12:07:27 GMT, Abhishek Kumar <duke at openjdk.org> wrote:
>> Document update for getBaselineResizeBehavior() and getBaseline() method description in JSpinner, AbstractBorder and TitledBorder .
>
> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>
> copyright year updated
src/java.desktop/share/classes/javax/swing/border/AbstractBorder.java line 184:
> 182: * @return an enum indicating how the baseline changes as the border is
> 183: * resized
> 184: * @throws NullPointerException if passed in {@code Component} is {@code null}
`if passed in {@code Component} is {@code null}` - Rephrasing this sentence would be better. Something like `if {@code Component} is {@code null}`.
-------------
PR: https://git.openjdk.org/jdk/pull/9902
More information about the client-libs-dev
mailing list