Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EABEF100E3 for ; Fri, 16 Jan 2015 16:44:58 +0000 (UTC) Received: (qmail 44087 invoked by uid 500); 16 Jan 2015 16:45:00 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 44054 invoked by uid 500); 16 Jan 2015 16:45:00 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 44045 invoked by uid 99); 16 Jan 2015 16:45:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2015 16:45:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Jan 2015 16:44:46 +0000 Received: (qmail 42928 invoked by uid 99); 16 Jan 2015 16:44:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2015 16:44:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C09C3E080B; Fri, 16 Jan 2015 16:44:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergi@apache.org To: commits@ignite.incubator.apache.org Date: Fri, 16 Jan 2015 16:45:11 -0000 Message-Id: <00d8e340d334449fb6c8bbe771512129@git.apache.org> In-Reply-To: <11cbe1415b494f80a431f1bf67e3a2ea@git.apache.org> References: <11cbe1415b494f80a431f1bf67e3a2ea@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [56/67] [abbrv] incubator-ignite git commit: # master Fixed issue in StoreManager.removeFromStore X-Virus-Checked: Checked by ClamAV on apache.org # 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-gg9499 Commit: 0d5ea9998eedccc1ca8488ec29c000ab3031a7b7 Parents: 6efcfb2 Author: sboikov Authored: Wed Jan 14 17:54:45 2015 +0400 Committer: sboikov 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 extends GridCacheManagerAdapter { 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())