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/23 12:46:07 UTC

[4/6] incubator-ignite git commit: # IGNITE-843 Don't use '!= null' in javascript

# IGNITE-843 Don't use '!= null' in javascript


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

Branch: refs/heads/ignite-843
Commit: adc1e4d00aa67c16df841ff6f1fe91df50e499f7
Parents: 01d4a35
Author: sevdokimov <se...@jetbrains.com>
Authored: Tue Jun 23 11:53:58 2015 +0300
Committer: sevdokimov <se...@jetbrains.com>
Committed: Tue Jun 23 11:53:58 2015 +0300

----------------------------------------------------------------------
 modules/webconfig/nodejs/utils/generatorXml.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/adc1e4d0/modules/webconfig/nodejs/utils/generatorXml.js
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/utils/generatorXml.js b/modules/webconfig/nodejs/utils/generatorXml.js
index 0315576..d72874d 100644
--- a/modules/webconfig/nodejs/utils/generatorXml.js
+++ b/modules/webconfig/nodejs/utils/generatorXml.js
@@ -113,7 +113,7 @@ exports.generate = function(cluster) {
                 break;
 
             case 'SharedFs':
-                if (d.SharedFs.path != null) {
+                if (d.SharedFs.path) {
                     res.startBlock('<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.sharedfs.TcpDiscoverySharedFsIpFinder">');
                     addProperty(res, d.SharedFs, 'path');
                     res.endBlock('</bean>');