RFR: 8278255: Add more warning text in ReentrantLock and ReentrantReadWriteLock [v2]
Pavel Rappo
prappo at openjdk.org
Wed May 1 10:05:52 UTC 2024
On Tue, 30 Apr 2024 19:41:54 GMT, Doug Lea <dl at openjdk.org> wrote:
> The grammar rules prefer "that" because it is a restrictive clause, even though "which" might sound better. See for example: https://owl.purdue.edu/owl/general_writing/grammar/that_vs_which.html
Thanks for that link, Doug.
I understand that two "that"s that are that close to each other might sound a bit weird. (Obviously, I exaggerated the issue in that preceding sentence.) Can we maybe rephrase it then?
* // If code could throw, make sure that it is executed inside try block
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18974#issuecomment-2088240552
More information about the core-libs-dev
mailing list