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)

Reply via email to