ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject incubator-ignite git commit: # IGNITE-320 Remove unnecessary checking CacheMapEntry.obsoleteOrDeleted()
Date Wed, 11 Mar 2015 12:25:11 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-320 1afb83746 -> 6e7d07ce6


# IGNITE-320 Remove unnecessary checking CacheMapEntry.obsoleteOrDeleted()


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

Branch: refs/heads/ignite-320
Commit: 6e7d07ce6e6a02651416454e92dae78d0e58f02d
Parents: 1afb837
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Wed Mar 11 15:24:34 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Wed Mar 11 15:24:34 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/cache/GridCacheAdapter.java       | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6e7d07ce/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
index 3092702..c6ef26b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
@@ -4300,15 +4300,7 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
                         throw CU.convertToCacheException(e);
                     }
                 }
-            },
-
-            false,
-
-            new IgnitePredicate<Cache.Entry<K, V>>() {
-                @Override public boolean apply(Cache.Entry<K, V> lazyEntry) {
-                    return !lazyEntry.unwrap(GridCacheEntryEx.class).obsoleteOrDeleted();
-                }
-            }
+            }, false
         );
     }
 


Mime
View raw message