ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/2] incubator-ignite git commit: # master Fixed issue in StoreManager.removeFromStore
Date Wed, 14 Jan 2015 13:55:49 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-1 65bed8ffb -> da0235bde


# master Fixed issue in StoreManager.removeFromStore


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

Branch: refs/heads/ignite-1
Commit: 0d5ea9998eedccc1ca8488ec29c000ab3031a7b7
Parents: 6efcfb2
Author: sboikov <sboikov@gridgain.com>
Authored: Wed Jan 14 17:54:45 2015 +0400
Committer: sboikov <sboikov@gridgain.com>
Committed: Wed Jan 14 17:54:45 2015 +0400

----------------------------------------------------------------------
 .../kernal/processors/cache/GridCacheStoreManager.java  | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0d5ea999/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheStoreManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheStoreManager.java
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheStoreManager.java
index 9d97270..b6d8341 100644
--- a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheStoreManager.java
+++ b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/GridCacheStoreManager.java
@@ -413,13 +413,11 @@ public class GridCacheStoreManager<K, V> extends GridCacheManagerAdapter<K,
V> {
             if (log.isDebugEnabled())
                 log.debug("Removing value from cache store [key=" + key + ']');
 
-            else {
-                try {
-                    store.remove(tx, key);
-                }
-                catch (ClassCastException e) {
-                    handleClassCastException(e);
-                }
+            try {
+                store.remove(tx, key);
+            }
+            catch (ClassCastException e) {
+                handleClassCastException(e);
             }
 
             if (log.isDebugEnabled())


Mime
View raw message