ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: ignite-929
Date Thu, 11 Jun 2015 13:01:14 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-929 65a143d8d -> fd3fdf848


ignite-929


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

Branch: refs/heads/ignite-929
Commit: fd3fdf848aaf57a111d6bb0fdff4faec03d8d717
Parents: 65a143d
Author: avinogradov <avinogradov@gridgain.com>
Authored: Thu Jun 11 16:01:05 2015 +0300
Committer: avinogradov <avinogradov@gridgain.com>
Committed: Thu Jun 11 16:01:05 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/fd3fdf84/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
index d65f00b..ed6ed9c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGateway.java
@@ -153,7 +153,7 @@ public class GridCacheGateway<K, V> {
             throw new IllegalStateException("Cache has been stopped: " + ctx.name());
         }
 
-        if (closed.get() == null || closed.get()) {
+        if (closed.get() != null && closed.get()) {
             rwLock.readUnlock();
 
             throw new IllegalStateException("Cache has been closed: " + ctx.name());


Mime
View raw message