Ekaterina Zilotina created ARTEMIS-4927:
-------------------------------------------

             Summary: Potential BadCopyPaste in AddressSettings.hashCode()
                 Key: ARTEMIS-4927
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4927
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Ekaterina Zilotina
         Attachments: image-2024-07-17-15-55-17-115.png

There are potential null dereference and bad copy paste in hashCode() function 
[in lines 
1699-1700|https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-server/src/main/java/org/apache/activemq/artemis/core/settings/impl/AddressSettings.java#L1698-L1700]
 (AddressSettings.java) when working with ExpiryDelay.

found with SVACE static analyzer

!image-2024-07-17-15-55-17-115.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


Reply via email to