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

Alexey Ivanov aivanov at openjdk.java.net
Wed Mar 10 12:22:09 UTC 2021


On Wed, 10 Mar 2021 12:13:43 GMT, Prasanta Sadhukhan <psadhukhan 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.

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.

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

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


More information about the swing-dev mailing list