[
https://issues.apache.org/jira/browse/ARTEMIS-4746?focusedWorklogId=916776&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-916776
]
ASF GitHub Bot logged work on ARTEMIS-4746:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 28/Apr/24 20:42
Start Date: 28/Apr/24 20:42
Worklog Time Spent: 10m
Work Description: jbertram merged PR #4908:
URL: https://github.com/apache/activemq-artemis/pull/4908
Issue Time Tracking
-------------------
Worklog Id: (was: 916776)
Time Spent: 20m (was: 10m)
> SIMILAR_BRANCHES.SWITCH Identical branches in switch node
> ---------------------------------------------------------
>
> Key: ARTEMIS-4746
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4746
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.33.0
> Reporter: Andrey Slepykh
> Assignee: Clebert Suconic
> Priority: Trivial
> Fix For: 2.34.0
>
> Attachments: Screenshot from 2024-04-28 17-46-07.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In [class JMSExceptionHelper|#L27]]
> In this stack of screenshots I show that there is unnecessary logic, by
> correcting which you can reduce the load on the computer and shorten the code
> !Screenshot from 2024-04-28 17-46-07.png!
> Some cases can be classified into groups, such as:
> a)
> # case CONNECTION_TIMEDOUT:
> 2. case INTERNAL_ERROR:
> 3. case NOT_CONNECTED:
> b)
> # {{case ILLEGAL_STATE:}}
> 2. {{{}case OBJECT_CLOSED{}}}{{{}:{}}}
> 3. {{case UNSUPPORTED_PACKET}}
> c)
> 1. {{case QUEUE_DOES_NOT_EXIST:}}
> 2. {{case QUEUE_EXISTS:}}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)