You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2020/08/10 15:01:00 UTC
[jira] [Created] (AMQ-8020) Replace toLowerCase().equals() with
equalsIgnoreCase
Colm O hEigeartaigh created AMQ-8020:
----------------------------------------
Summary: Replace toLowerCase().equals() with equalsIgnoreCase
Key: AMQ-8020
URL: https://issues.apache.org/jira/browse/AMQ-8020
Project: ActiveMQ
Issue Type: Task
Reporter: Colm O hEigeartaigh
Fix For: 5.17.0, 5.16.1
There are a few instances in the code where toLowerCase().equals() is used, when equalsIgnoreCase() would suffice. The latter is more concise + also doesn't involve the default Locale that's used with toLowerCase(), which might be problematic depending on the String being compared.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)