On Tue, 23 Apr 2024 08:54:17 GMT, Daniel JeliƄski <djelin...@openjdk.org> wrote:

> I'd prefer this instead:
> 
> ```
>         if (!(obj instanceof KeepAliveKey kae))
>             return false;
> ```
> 
> because it's more awesome :) but what you propose looks good too.

Yes, you're right. Adapted. 😄

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

PR Comment: https://git.openjdk.org/jdk/pull/18885#issuecomment-2071983640

Reply via email to