You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/01/01 22:07:37 UTC

[10/18] ignite git commit: IGNITE-2263: DANGEROUS! view() to viewReadOnly() in GridCacheEvictionManager.

IGNITE-2263: DANGEROUS! view()  to viewReadOnly() in GridCacheEvictionManager.


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

Branch: refs/heads/ignite-2263
Commit: 5be6f6a3f53a9c0ac96a7ec5c1c414639e1d9a7e
Parents: c8127e1
Author: thatcoach <pp...@list.ru>
Authored: Fri Jan 1 17:03:24 2016 +0300
Committer: thatcoach <pp...@list.ru>
Committed: Fri Jan 1 17:03:24 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/5be6f6a3/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheEvictionManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheEvictionManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheEvictionManager.java
index f542f4b..0e0f5c5 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheEvictionManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheEvictionManager.java
@@ -1991,7 +1991,7 @@ public class GridCacheEvictionManager extends GridCacheManagerAdapter {
                 });
 
                 if (err) {
-                    Collection<UUID> ids = F.view(resMap.keySet(), new P1<UUID>() {
+                    Collection<UUID> ids = F.viewReadOnly(resMap.keySet(), F.<UUID>identity(), new P1<UUID>() {
                         @Override public boolean apply(UUID e) {
                             return resMap.get(e).evictError();
                         }