[
https://issues.apache.org/jira/browse/ARTEMIS-5442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17985697#comment-17985697
]
ASF subversion and git services commented on ARTEMIS-5442:
----------------------------------------------------------
Commit 4890bb36c70977180db223a6839e1c881116232e in activemq-artemis's branch
refs/heads/main from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=4890bb36c7 ]
ARTEMIS-5442 use Objects.equals consistently
This commit enforces consistency for `Object#equals` implementations
across the code-base via the following changes:
- Use `Objects#equals` whenever possible.
- Use `instanceof` rather than explicit null checks & `getClass`.
- Use "obj" for parameter name and "other" for cast object name.
- Always check identity using `==` first.
- Use explicit curly brackets for conditionals to increase clarity.
> Upgrade caniuse-lite
> --------------------
>
> Key: ARTEMIS-5442
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5442
> Project: ActiveMQ Artemis
> Issue Type: Dependency upgrade
> Reporter: Andy Taylor
> Priority: Major
> Labels: pull-request-available
> Fix For: console-1.2.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> This isnt actually used but updating it removes build warnings when
> browserlist is run.
--
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