ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [22/22] ignite git commit: Minor code style change.
Date Fri, 18 Dec 2015 03:42:25 GMT
Minor code style change.


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

Branch: refs/heads/ignite-gg-10889
Commit: 1f45c65f2da9651d2252067469cd6029a10a15be
Parents: 131a6c9
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Fri Dec 18 10:42:54 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Fri Dec 18 10:42:54 2015 +0700

----------------------------------------------------------------------
 .../org/apache/ignite/internal/visor/util/VisorTaskUtils.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/1f45c65f/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
index 15bde25..016c200 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/util/VisorTaskUtils.java
@@ -864,11 +864,11 @@ public class VisorTaskUtils {
                     StringBuilder envs = new StringBuilder();
 
                     for (Map.Entry<String, String> entry : System.getenv().entrySet())
{
-                        String value = entry.getValue();
+                        String val = entry.getValue();
 
-                        if (value.indexOf(';') < 0 && value.indexOf('\'') <
0)
+                        if (val.indexOf(';') < 0 && val.indexOf('\'') < 0)
                             envs.append(String.format("export %s='%s'; ",
-                                    entry.getKey(), value.replace('\n', ' ').replace("'",
"\'")));
+                                    entry.getKey(), val.replace('\n', ' ').replace("'", "\'")));
                     }
 
                     run.add(openInConsole(null, envVars, envs.toString(), ignite, quitePar,
nodeCfg));


Mime
View raw message