You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2025/03/13 01:55:01 UTC
[jira] [Closed] (ARTEMIS-5295) Use switch expressions where possible
[ https://issues.apache.org/jira/browse/ARTEMIS-5295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clebert Suconic closed ARTEMIS-5295.
------------------------------------
> Use switch expressions where possible
> -------------------------------------
>
> Key: ARTEMIS-5295
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5295
> Project: ActiveMQ Artemis
> Issue Type: Sub-task
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Fix For: 2.40.0
>
>
> Java 12 introduced a [new switch expression syntax|https://blogs.oracle.com/javamagazine/post/new-switch-expressions-in-java-12]. We should use it wherever possible as it's much more concise and readable than the older syntax.
--
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