You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2015/07/31 04:46:08 UTC
[22/25] incubator-ignite git commit: IGNITE-843 Reverted usage of
addPropertyIfNotDefault.
IGNITE-843 Reverted usage of addPropertyIfNotDefault.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/00f9f620
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/00f9f620
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/00f9f620
Branch: refs/heads/ignite-1121
Commit: 00f9f620017cddc1ccbae55241f9526959d01b64
Parents: 7d00974
Author: AKuznetsov <ak...@gridgain.com>
Authored: Fri Jul 31 00:41:24 2015 +0700
Committer: AKuznetsov <ak...@gridgain.com>
Committed: Fri Jul 31 00:41:24 2015 +0700
----------------------------------------------------------------------
modules/control-center-web/src/main/js/routes/generator/java.js | 4 ++--
modules/control-center-web/src/main/js/routes/generator/xml.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/00f9f620/modules/control-center-web/src/main/js/routes/generator/java.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/routes/generator/java.js b/modules/control-center-web/src/main/js/routes/generator/java.js
index 6b3868b..803b360 100644
--- a/modules/control-center-web/src/main/js/routes/generator/java.js
+++ b/modules/control-center-web/src/main/js/routes/generator/java.js
@@ -479,7 +479,7 @@ function addCacheConfiguration(res, cache, varName) {
if (cacheMode == 'PARTITIONED')
addProperty(res, varName, cache, 'backups');
- addProperty(res, varName, cache, 'readFromBackup', true);
+ addProperty(res, varName, cache, 'readFromBackup');
addProperty(res, varName, cache, 'startSize');
res.needEmptyLine = true;
@@ -487,7 +487,7 @@ function addCacheConfiguration(res, cache, varName) {
addProperty(res, varName, cache, 'memoryMode', 'CacheMemoryMode');
addProperty(res, varName, cache, 'offHeapMaxMemory');
addProperty(res, varName, cache, 'swapEnabled');
- addProperty(res, varName, cache, 'copyOnRead', true);
+ addProperty(res, varName, cache, 'copyOnRead');
res.needEmptyLine = true;
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/00f9f620/modules/control-center-web/src/main/js/routes/generator/xml.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/routes/generator/xml.js b/modules/control-center-web/src/main/js/routes/generator/xml.js
index 9058378..f07f7f6 100644
--- a/modules/control-center-web/src/main/js/routes/generator/xml.js
+++ b/modules/control-center-web/src/main/js/routes/generator/xml.js
@@ -464,7 +464,7 @@ function generateCacheConfiguration(res, cacheCfg) {
if (cacheMode == 'PARTITIONED')
addProperty(res, cacheCfg, 'backups');
- addProperty(res, cacheCfg, 'readFromBackup', true);
+ addProperty(res, cacheCfg, 'readFromBackup');
addProperty(res, cacheCfg, 'startSize');
@@ -473,7 +473,7 @@ function generateCacheConfiguration(res, cacheCfg) {
addProperty(res, cacheCfg, 'memoryMode');
addProperty(res, cacheCfg, 'offHeapMaxMemory');
addProperty(res, cacheCfg, 'swapEnabled');
- addProperty(res, cacheCfg, 'copyOnRead', true);
+ addProperty(res, cacheCfg, 'copyOnRead');
res.needEmptyLine = true;