You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/02/12 15:55:00 UTC

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

    [ https://issues.apache.org/jira/browse/ARTEMIS-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926436#comment-17926436 ] 

ASF subversion and git services commented on ARTEMIS-5278:
----------------------------------------------------------

Commit 0082dfb01d8068565893f87ffb35300adf34c867 in activemq-artemis's branch refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=0082dfb01d ]

ARTEMIS-5278 use pattern matching for instanceof


> 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