You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2020/08/10 14:59:00 UTC

[jira] [Work started] (BEAM-10668) Replace toLowerCase().equals() with equalsIgnoreCase

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

Work on BEAM-10668 started by Colm O hEigeartaigh.
--------------------------------------------------
> Replace toLowerCase().equals() with equalsIgnoreCase
> ----------------------------------------------------
>
>                 Key: BEAM-10668
>                 URL: https://issues.apache.org/jira/browse/BEAM-10668
>             Project: Beam
>          Issue Type: Task
>          Components: sdk-java-core
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>            Priority: P4
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There are a couple of 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)