You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Kaloyan Spiridonov (JIRA)" <ji...@apache.org> on 2016/10/20 07:49:58 UTC

[jira] [Created] (OPENJPA-2675) Missing check for null parameter in equals()

Kaloyan Spiridonov created OPENJPA-2675:
-------------------------------------------

             Summary: Missing check for null parameter in equals()
                 Key: OPENJPA-2675
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2675
             Project: OpenJPA
          Issue Type: Bug
    Affects Versions: 2.4.1
            Reporter: Kaloyan Spiridonov


In classes CandidatePath at line 184,CriteriaQueryImpl at line 738, Extensions at line 440 and StoreFacadeTypeRegistry at line 108 there is equals method that there is no check for null parameter. 
According javadoc for Object equals method:
For any non-null reference value x, x.equals(null) should return false.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)