You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2016/02/20 12:46:28 UTC

[09/38] ignite git commit: Fixed CacheEvictableEntryImpl.equals()

Fixed CacheEvictableEntryImpl.equals()


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/7be1aab5
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/7be1aab5
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/7be1aab5

Branch: refs/heads/ignite-961
Commit: 7be1aab55799bf2807ec9957164ca636c469a7c3
Parents: cb35e1d
Author: Valentin Kulichenko <va...@gmail.com>
Authored: Tue Feb 16 14:12:36 2016 -0800
Committer: Valentin Kulichenko <va...@gmail.com>
Committed: Tue Feb 16 14:12:36 2016 -0800

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/CacheEvictableEntryImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/7be1aab5/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEvictableEntryImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEvictableEntryImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEvictableEntryImpl.java
index 9f4d9d7..be377c3 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEvictableEntryImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEvictableEntryImpl.java
@@ -221,7 +221,7 @@ public class CacheEvictableEntryImpl<K, V> implements EvictableEntry<K, V> {
         if (obj instanceof CacheEvictableEntryImpl) {
             CacheEvictableEntryImpl<K, V> other = (CacheEvictableEntryImpl<K, V>)obj;
 
-            return cached.key().equals(other.getKey());
+            return cached.key().equals(other.cached.key());
         }
 
         return false;