You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Robbie Gemmell (Jira)" <ji...@apache.org> on 2025/01/30 17:41:00 UTC

[jira] [Resolved] (ARTEMIS-5278) Use pattern matching for instanceof

     [ https://issues.apache.org/jira/browse/ARTEMIS-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved ARTEMIS-5278.
-------------------------------------
    Fix Version/s: 2.40.0
       Resolution: Fixed

> Use pattern matching for instanceof
> -----------------------------------
>
>                 Key: ARTEMIS-5278
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5278
>             Project: ActiveMQ Artemis
>          Issue Type: Sub-task
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>             Fix For: 2.40.0
>
>
> Java 16 introduced [pattern matching for instanceof|https://openjdk.org/jeps/394]. Now that we've moved from Java 11 to 17 we should use this feature to improve code readability.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact