You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/08/11 07:33:00 UTC

[jira] [Commented] (AMQ-8020) Replace toLowerCase().equals() with equalsIgnoreCase

    [ https://issues.apache.org/jira/browse/AMQ-8020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175304#comment-17175304 ] 

ASF subversion and git services commented on AMQ-8020:
------------------------------------------------------

Commit 6fef652beb0d2575678c982aea37124698e8eb72 in activemq's branch refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=6fef652 ]

Merge pull request #554 from coheigea/AMQ-8020

AMQ-8020 - Replace toLowerCase().equals() with equalsIgnoreCase

> 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
>            Assignee: Colm O hEigeartaigh
>            Priority: Trivial
>             Fix For: 5.17.0, 5.16.1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)