You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Andrey Slepykh (Jira)" <ji...@apache.org> on 2024/05/19 14:23:00 UTC

[jira] [Created] (ARTEMIS-4775) SIMILAR_BRANCHES.SWITCH Identical branches in switch node

Andrey Slepykh created ARTEMIS-4775:
---------------------------------------

             Summary: 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
         Attachments: image-2024-05-19-17-18-16-355.png

in [class](https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-jms-client/src/main/java/org/apache/activemq/artemis/api/jms/JMSFactoryType.java#L220) the switch/case method contains extra code that could have been shortened

!image-2024-05-19-17-18-16-355.png!

 

Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.

Author: Firsov Vladimir, BMSTU (fvv22u102@student.bmstu.ru)



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