You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/02/02 17:55:25 UTC

[45/45] incubator-ignite git commit: # ignite-121 : fix review comments

# ignite-121 : fix review comments


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

Branch: refs/heads/ignite-121-logging
Commit: e7562eb3adfae95e30980de650f8db4a73940d74
Parents: 72b557a
Author: Artem SHutak <as...@gridgain.com>
Authored: Mon Feb 2 19:54:47 2015 +0300
Committer: Artem SHutak <as...@gridgain.com>
Committed: Mon Feb 2 19:54:47 2015 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/internal/IgnitionEx.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e7562eb3/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 b7c57cc..1dcbab9 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
@@ -2007,7 +2007,7 @@ public class IgnitionEx {
                 Exception log4jInitException = null;
 
                 if (cfgLog == null) {
-                    Class<?> log4jCls = null;
+                    Class<?> log4jCls;
 
                     try {
                         log4jCls = Class.forName("org.apache.ignite.logger.log4j.IgniteLog4jLogger");
@@ -2065,8 +2065,8 @@ public class IgnitionEx {
                     ((IgniteLoggerNodeIdAware)cfgLog).setNodeId(nodeId);
 
                 if (log4jInitException != null)
-                    U.warn(cfgLog, "Failed to initialize IgniteLog4jLogger (falling back to standard java logging): " +
-                            log4jInitException.getCause());
+                    U.warn(cfgLog, "Failed to initialize IgniteLog4jLogger (falling back to standard java logging): "
+                            + log4jInitException.getCause());
 
                 return cfgLog;
             }