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

Justin Bertram closed ARTEMIS-5284.
-----------------------------------

> Use assertSame where possible
> -----------------------------
>
>                 Key: ARTEMIS-5284
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5284
>             Project: ActiveMQ Artemis
>          Issue Type: Sub-task
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>
> Some JUnit calls to {{assertEquals()}} can be replaced with an equivalent 
> {{assertSame()}} call. This is possible when the arguments are instances of a 
> {{final}} class that does not override the {{Object.equals()}} method and 
> makes it explicit that the object identity is compared.



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