[ 
https://issues.apache.org/jira/browse/ARTEMIS-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Slepykh updated ARTEMIS-4775:
------------------------------------
    Description: 
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 (fvv22u...@student.bmstu.ru)

  was:
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 (fvv22u...@student.bmstu.ru)


> 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 
> (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 (fvv22u...@student.bmstu.ru)



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

Reply via email to