ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [4/6] incubator-ignite git commit: # IGNITE-843 Don't use '!= null' in javascript
Date Tue, 23 Jun 2015 10:46:07 GMT
# 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 <sergey.evdokimov@jetbrains.com>
Authored: Tue Jun 23 11:53:58 2015 +0300
Committer: sevdokimov <sergey.evdokimov@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>');


Mime
View raw message