You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2019/11/06 10:00:00 UTC

[jira] [Resolved] (SLING-8825) Strings and Boxed types should be compared using "equals()"

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

Robert Munteanu resolved SLING-8825.
------------------------------------
    Fix Version/s: Discovery Impl 1.2.14
         Assignee: Robert Munteanu
       Resolution: Fixed

PR applied, thanks [~HarisAdzemovic] for your contribution!

> Strings and Boxed types should be compared using "equals()"
> -----------------------------------------------------------
>
>                 Key: SLING-8825
>                 URL: https://issues.apache.org/jira/browse/SLING-8825
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Haris Adzemovic
>            Assignee: Robert Munteanu
>            Priority: Minor
>             Fix For: Discovery Impl 1.2.14
>
>
> There are a number of Sonarqube violations relating to comparisons of Boxed types and Strings using the "==" operator rather than ".equals()".
> Sonarcloud analysis: [https://sonarcloud.io/organizations/apache/issues?resolved=false&rules=squid%3AS4973]
> Violated rule: [https://rules.sonarsource.com/java/RSPEC-4973]
> Are pull requests for fixing these welcome?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)