ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [26/50] incubator-ignite git commit: minor
Date Mon, 27 Apr 2015 11:10:48 GMT
minor


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

Branch: refs/heads/ignite-695
Commit: bd581831dcaba31ec24e90217f949056b3569d33
Parents: a09cc08
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Thu Apr 23 18:40:04 2015 +0300
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Thu Apr 23 18:40:04 2015 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/processors/cache/GridCacheUtils.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/bd581831/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
index 9bc7574..f912da2 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
@@ -1199,8 +1199,9 @@ public class GridCacheUtils {
      * @param ctx Shared cache context.
      */
     public static <K, V> void unwindEvicts(GridCacheSharedContext<K, V> ctx)
{
+        assert ctx != null;
+
         for (GridCacheContext<K, V> cacheCtx : ctx.cacheContexts()) {
-            assert ctx != null;
 
             cacheCtx.evicts().unwind();
 


Mime
View raw message