On Mon, 13 Feb 2023 09:19:23 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> ok..modified but I guess mine was not "incorrect" either.. No, it was not wrong. I believe this way is clearer though: if `curFont == origFont`, `equals` is bound to return `true`, so you can just avoid calling `equals` twice and make the condition shorter. ------------- PR: https://git.openjdk.org/jdk/pull/12180