ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [05/21] ignite git commit: Fixed CacheEvictableEntryImpl.equals()
Date Thu, 18 Feb 2016 08:07:29 GMT
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-2407
Commit: 7be1aab55799bf2807ec9957164ca636c469a7c3
Parents: cb35e1d
Author: Valentin Kulichenko <valentin.kulichenko@gmail.com>
Authored: Tue Feb 16 14:12:36 2016 -0800
Committer: Valentin Kulichenko <valentin.kulichenko@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;


Mime
View raw message