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

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

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

ARTEMIS-5295 use switch expressions where possible


> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to