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

Carsten Ziegeler commented on SLING-10319:
------------------------------------------

Forgot to push one test:
https://github.com/apache/sling-org-apache-sling-auth-core/commit/769a5a4f5c1ba33c57555f2778685a89826fcb8f

> Use the "equals" method if value comparison was intended
> --------------------------------------------------------
>
>                 Key: SLING-10319
>                 URL: https://issues.apache.org/jira/browse/SLING-10319
>             Project: Sling
>          Issue Type: Improvement
>          Components: Authentication
>    Affects Versions: Auth Core 1.5.0, Auth Core 1.5.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Auth Core 1.5.4
>
>
> See sonar check:
> https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-auth-core&open=AWogePnQ9zLXaOU8uV59&resolved=false&types=BUG
> The fix suggested at
> https://github.com/apache/sling-org-apache-sling-auth-core/pull/1
> will cause a NPE. The whole if block needs to be reworked



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

Reply via email to