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

ASF subversion and git services commented on OPENJPA-2675:
----------------------------------------------------------

Commit 1768191 from [~struberg] in branch 'openjpa/trunk'
[ https://svn.apache.org/r1768191 ]

OPENJPA-2675 implement null-check for CriteriaQueryImpl#equals

txs to Kaloyan Spiridonov for the catch!

> 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
>            Assignee: Mark Struberg
>
> 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)

Reply via email to