You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Furkan Kamaci (Jira)" <ji...@apache.org> on 2021/05/12 23:07:00 UTC

[jira] [Created] (TIKA-3400) Use equals for Object and String Comparison Instead of ==

Furkan Kamaci created TIKA-3400:
-----------------------------------

             Summary: Use equals for Object and String Comparison Instead of ==
                 Key: TIKA-3400
                 URL: https://issues.apache.org/jira/browse/TIKA-3400
             Project: Tika
          Issue Type: Bug
    Affects Versions: 1.26
            Reporter: Furkan Kamaci
             Fix For: 1.27


`equals()` is used for object and string comparison but `==` compares them by identity.



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