[
https://issues.apache.org/jira/browse/ARTEMIS-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram updated ARTEMIS-4775:
------------------------------------
Language: (was: JAVA Java java)
> SIMILAR_BRANCHES.SWITCH Identical branches in switch node
> ---------------------------------------------------------
>
> Key: ARTEMIS-4775
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4775
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: JMS
> Affects Versions: 2.25.0
> Reporter: Andrey Slepykh
> Priority: Major
> Attachments: image-2024-05-19-17-18-16-355.png
>
>
> in method:
> [https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-jms-client/src/main/java/org/apache/activemq/artemis/api/jms/JMSFactoryType.java#L229]
> the switch/case method contains extra code that could have been shortened
> !image-2024-05-19-17-18-16-355.png!
--
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