Carsten Ziegeler created SLING-10319:
----------------------------------------

             Summary: 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
             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