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-843 Commit: c2cedb0ed5f54cdbdc60635043555c7c47c04bea Parents: c517fcf Author: Yakov Zhdanov <yzhda...@gridgain.com> Authored: Tue Sep 29 16:20:26 2015 +0300 Committer: Yakov Zhdanov <yzhda...@gridgain.com> 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 +}