ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [10/18] ignite git commit: IGNITE-2263: DANGEROUS! view() to viewReadOnly() in GridCacheEvictionManager.
Date Fri, 01 Jan 2016 21:07:37 GMT
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 <ppozerov@list.ru>
Authored: Fri Jan 1 17:03:24 2016 +0300
Committer: thatcoach <ppozerov@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();
                         }


Mime
View raw message