ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [18/24] incubator-ignite git commit: Ignite sp-1 shutdown hook installation
Date Mon, 26 Jan 2015 12:02:52 GMT
Ignite sp-1 shutdown hook installation


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

Branch: refs/heads/ignite-49
Commit: c46c7f25a3cbe0dc8464378129e4555818bdd3cd
Parents: 15cbff4
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Mon Jan 26 14:15:23 2015 +0300
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Mon Jan 26 14:15:23 2015 +0300

----------------------------------------------------------------------
 .../core/src/main/java/org/apache/ignite/internal/GridGainEx.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/c46c7f25/modules/core/src/main/java/org/apache/ignite/internal/GridGainEx.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridGainEx.java b/modules/core/src/main/java/org/apache/ignite/internal/GridGainEx.java
index 131c4f2..178efe1 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/GridGainEx.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/GridGainEx.java
@@ -1966,7 +1966,7 @@ public class GridGainEx {
             }
 
             // Do NOT set it up only if GRIDGAIN_NO_SHUTDOWN_HOOK=TRUE is provided.
-            if (IgniteSystemProperties.getBoolean(GG_NO_SHUTDOWN_HOOK)) {
+            if (!IgniteSystemProperties.getBoolean(GG_NO_SHUTDOWN_HOOK, false)) {
                 try {
                     Runtime.getRuntime().addShutdownHook(shutdownHook = new Thread() {
                         @Override public void run() {


Mime
View raw message