You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by se...@apache.org on 2015/06/24 14:24:51 UTC

[2/3] incubator-ignite git commit: # IGNITE-843 Cleanup code

# IGNITE-843 Cleanup code


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

Branch: refs/heads/ignite-843
Commit: 93927c490a547885ca310f49c63a651c1521d010
Parents: 468271f
Author: sevdokimov <se...@gridgain.com>
Authored: Wed Jun 24 12:18:33 2015 +0300
Committer: sevdokimov <se...@gridgain.com>
Committed: Wed Jun 24 12:18:33 2015 +0300

----------------------------------------------------------------------
 modules/webconfig/nodejs/utils/generatorXml.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/93927c49/modules/webconfig/nodejs/utils/generatorXml.js
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/utils/generatorXml.js b/modules/webconfig/nodejs/utils/generatorXml.js
index 9aaccff..7dc9cbf 100644
--- a/modules/webconfig/nodejs/utils/generatorXml.js
+++ b/modules/webconfig/nodejs/utils/generatorXml.js
@@ -37,8 +37,6 @@ exports.generateClusterConfiguration = function(cluster) {
         res.startBlock('<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">');
         res.startBlock('<property name="ipFinder">');
 
-        var className;
-
         var d = cluster.discovery;
 
         switch (d.kind) {
@@ -231,7 +229,7 @@ exports.generateCacheConfiguration = function(cacheCfg, varName, res) {
     res.line('cache');
     
     return res;
-}
+};
 
 function addProperty(res, obj, propName) {
     var val = obj[propName];