On Tue, 30 Apr 2024 19:41:54 GMT, Doug Lea <d...@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