<Swing Dev> RFR: 6251901: BasicTextUI: installDefaults method are contrary to the documentation [v3]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Wed Mar 10 12:28:19 UTC 2021


On Wed, 10 Mar 2021 12:19:45 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> I think these are nouns and as per I know, we shouldn't place comma before "and" when we are simply listing the items.
>
>> I think these are nouns and as per I know, we shouldn't place comma before "and" when we are simply listing the items.
> 
> This is called [Oxford Comma](https://www.grammarly.com/blog/what-is-the-oxford-comma-and-why-do-people-care-so-much-about-it/). It is quite standard in American English and javadoc uses American English. The comma was present before therefore I suggest following the style and add the now missing comma.

ok

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

PR: https://git.openjdk.java.net/jdk/pull/2888


More information about the swing-dev mailing list