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

ASF subversion and git services commented on JSPWIKI-1120:
----------------------------------------------------------

Commit ca88c2635936af3f057af80f5e79547a07c37b97 in jspwiki's branch 
refs/heads/master from Haris Adzemovic
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=ca88c26 ]

Strings and Boxed types should be compared using "equals()"

This fixes 3 Sonarqube violations of rule S4973:
https://rules.sonarsource.com/java/RSPEC-4973

Sonarcloud violation URL:
https://sonarcloud.io/organizations/apache/issues?open=AWyr6XyY5ULuzyOxXLGi&resolved=false&rules=squid%3AS4973

Jira Ticket:
https://issues.apache.org/jira/browse/JSPWIKI-1120


> Strings and Boxed types should be compared using "equals()"
> -----------------------------------------------------------
>
>                 Key: JSPWIKI-1120
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1120
>             Project: JSPWiki
>          Issue Type: Bug
>            Reporter: Haris Adzemovic
>            Priority: Minor
>
> 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?languages=java&open=AWyr6XyY5ULuzyOxXLGi&resolved=false&rules=squid%3AS4973&types=BUG]
> Violated rule: [https://rules.sonarsource.com/java/RSPEC-4973]



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

Reply via email to