[ 
https://issues.apache.org/jira/browse/ARTEMIS-5147?focusedWorklogId=953024&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-953024
 ]

ASF GitHub Bot logged work on ARTEMIS-5147:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Jan/25 20:50
            Start Date: 17/Jan/25 20:50
    Worklog Time Spent: 10m 
      Work Description: tabish121 merged PR #5454:
URL: https://github.com/apache/activemq-artemis/pull/5454




Issue Time Tracking
-------------------

    Worklog Id:     (was: 953024)
    Time Spent: 20m  (was: 10m)

> Unreachable code in ClientSessionFactoryImpl.java
> -------------------------------------------------
>
>                 Key: ARTEMIS-5147
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5147
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Alex
>            Assignee: Justin Bertram
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The createTransportConnection() function (line 1288) uses the try{}...catch{} 
> block. In this block, the transportConnection variable is created, which, 
> under any conditions of creation, is checked for the value != NULL. There is 
> no security threat, as this is just an unnecessary check.
> https://github.com/apache/activemq-artemis/blob/935690a0b40d2887a765ca962e769215a680e1d6/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/client/impl/ClientSessionFactoryImpl.java#L1288-L1293



--
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