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 0D77C176B7 for ; Thu, 9 Apr 2015 12:34:15 +0000 (UTC) Received: (qmail 286 invoked by uid 500); 9 Apr 2015 12:34:15 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 256 invoked by uid 500); 9 Apr 2015 12:34:14 -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 247 invoked by uid 99); 9 Apr 2015 12:34:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 12:34:14 +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; Thu, 09 Apr 2015 12:34:13 +0000 Received: (qmail 99587 invoked by uid 99); 9 Apr 2015 12:33:53 -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; Thu, 09 Apr 2015 12:33:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 289F7DFFCD; Thu, 9 Apr 2015 12:33:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Thu, 09 Apr 2015 12:34:00 -0000 Message-Id: <42119db744ca40f08a65b386202b3aa6@git.apache.org> In-Reply-To: <44c6697d259e4f499b0c726d244dbe09@git.apache.org> References: <44c6697d259e4f499b0c726d244dbe09@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [09/50] [abbrv] incubator-ignite git commit: # IGNITE-685 Fix issue found on the review. X-Virus-Checked: Checked by ClamAV on apache.org # IGNITE-685 Fix issue found on the review. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/fa552bc0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/fa552bc0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/fa552bc0 Branch: refs/heads/ignite-80 Commit: fa552bc08f2835eaa9d7f91ef88e1ac43201a363 Parents: 654b4e9 Author: sevdokimov Authored: Wed Apr 8 13:26:16 2015 +0300 Committer: sevdokimov Committed: Wed Apr 8 13:29:06 2015 +0300 ---------------------------------------------------------------------- .../src/main/java/org/apache/ignite/internal/IgnitionEx.java | 5 ----- 1 file changed, 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/fa552bc0/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java index a4aea66..c7dfd19 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java @@ -1716,11 +1716,6 @@ public class IgnitionEx { if (CU.isMarshallerCache(ccfg.getName())) throw new IgniteCheckedException("Cache name cannot be \"" + CU.MARSH_CACHE_NAME + "\" because it is reserved for internal purposes."); - } - - for (CacheConfiguration ccfg : userCaches) { - if (ccfg == null) - throw new NullPointerException("Cache configuration list must not contains null element"); cacheCfgs.add(ccfg); }