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 DDCE51892B for ; Wed, 30 Sep 2015 03:01:49 +0000 (UTC) Received: (qmail 28394 invoked by uid 500); 30 Sep 2015 03:01:34 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 28298 invoked by uid 500); 30 Sep 2015 03:01:33 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 25182 invoked by uid 99); 30 Sep 2015 03:01:26 -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; Wed, 30 Sep 2015 03:01:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1772EE1533; Wed, 30 Sep 2015 03:01:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: anovikov@apache.org To: commits@ignite.apache.org Date: Wed, 30 Sep 2015 03:02:02 -0000 Message-Id: <8e6c8dd8f10b4cafaf228b66e34407e1@git.apache.org> In-Reply-To: <3fa4f141421648de9a025b45193cec33@git.apache.org> References: <3fa4f141421648de9a025b45193cec33@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [38/41] ignite git commit: minor (style) minor (style) Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c2cedb0e Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c2cedb0e Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c2cedb0e Branch: refs/heads/ignite-1168 Commit: c2cedb0ed5f54cdbdc60635043555c7c47c04bea Parents: c517fcf Author: Yakov Zhdanov Authored: Tue Sep 29 16:20:26 2015 +0300 Committer: Yakov Zhdanov Committed: Tue Sep 29 16:20:26 2015 +0300 ---------------------------------------------------------------------- .../java/org/apache/ignite/internal/util/GridArgumentCheck.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/c2cedb0e/modules/core/src/main/java/org/apache/ignite/internal/util/GridArgumentCheck.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridArgumentCheck.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridArgumentCheck.java index 8be3610..f96773e 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridArgumentCheck.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridArgumentCheck.java @@ -157,8 +157,7 @@ public class GridArgumentCheck { public static void notNullOrEmpty(String value, String name) { notNull(value, name); - if (value.trim().length() == 0) { + if (value.trim().length() == 0) throw new IllegalArgumentException(INVALID_ARG_MSG_PREFIX + name + NOT_NULL_OR_EMPTY_SUFFIX); - } } -} \ No newline at end of file +}