On Wed, 17 Aug 2022 12:07:27 GMT, Abhishek Kumar <[email protected]> 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

Reply via email to