[
https://issues.apache.org/jira/browse/IGNITE-9160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikolai Kulagin updated IGNITE-9160:
------------------------------------
Description:
Some classes have Incorrect quals() method:
{code:java}
// GridDhtPartitionMap.java
@Override public boolean equals(Object o) {
if (this == o)
return true;
GridDhtPartitionMap other = (GridDhtPartitionMap)o;
return other.nodeId.equals(nodeId) && other.updateSeq == updateSeq;
}{code}
*GridDhtPartitionFullMap -* NPE
*GridDhtPartitionMap* - NPE
*GridNearOptimisticTxPrepareFuture* - NPE and CCE
*GridCacheMvccCandidate* - CCE
*GridDhtPartitionExchangeId* - CCE
*GridTuple6* - CCE
was:
Next classes have exceptions in equals() method:
*GridDhtPartitionFullMap -* NPE
*GridDhtPartitionMap* - NPE
*GridNearOptimisticTxPrepareFuture* - NPE and CCE
*GridCacheMvccCandidate* - CCE
*GridDhtPartitionExchangeId* - CCE
*GridTuple6* - CCE
> NPE and CCE on equals() methods
> -------------------------------
>
> Key: IGNITE-9160
> URL: https://issues.apache.org/jira/browse/IGNITE-9160
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 2.6
> Reporter: Nikolai Kulagin
> Assignee: Nikolai Kulagin
> Priority: Minor
> Labels: newbie
> Fix For: 2.7
>
>
> Some classes have Incorrect quals() method:
> {code:java}
> // GridDhtPartitionMap.java
> @Override public boolean equals(Object o) {
> if (this == o)
> return true;
> GridDhtPartitionMap other = (GridDhtPartitionMap)o;
> return other.nodeId.equals(nodeId) && other.updateSeq == updateSeq;
> }{code}
>
>
> *GridDhtPartitionFullMap -* NPE
> *GridDhtPartitionMap* - NPE
> *GridNearOptimisticTxPrepareFuture* - NPE and CCE
> *GridCacheMvccCandidate* - CCE
> *GridDhtPartitionExchangeId* - CCE
> *GridTuple6* - CCE
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)