RFR: 8292376: A few Swing methods use inheritDoc on exceptions which are not inherited [v2]

Abhishek Kumar duke at openjdk.org
Wed Sep 7 07:48:00 UTC 2022


On Tue, 6 Sep 2022 16:55:12 GMT, Tejesh R <tr at openjdk.org> wrote:

>> 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}`.

Updated in method description.

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

PR: https://git.openjdk.org/jdk/pull/9902



More information about the client-libs-dev mailing list