ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject incubator-ignite git commit: IGNITE-843 Assed indexed types to imports.
Date Thu, 30 Jul 2015 10:42:04 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 e1aa2cbde -> ae32685ee


IGNITE-843 Assed indexed types to imports.


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

Branch: refs/heads/ignite-843
Commit: ae32685ee58169d6cd6906907c41492890151549
Parents: e1aa2cb
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Thu Jul 30 17:42:02 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Thu Jul 30 17:42:02 2015 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/routes/generator/common.js | 2 +-
 modules/control-center-web/src/main/js/routes/generator/java.js   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ae32685e/modules/control-center-web/src/main/js/routes/generator/common.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/routes/generator/common.js b/modules/control-center-web/src/main/js/routes/generator/common.js
index a74b545..01a7cd6 100644
--- a/modules/control-center-web/src/main/js/routes/generator/common.js
+++ b/modules/control-center-web/src/main/js/routes/generator/common.js
@@ -176,7 +176,7 @@ exports.marshallers = {
 };
 
 var javaBuildInClasses = {
-    BigDecimal: {className: 'java.math.Boolean'},
+    BigDecimal: {className: 'java.math.BigDecimal'},
     Boolean: {className: 'java.lang.Boolean'},
     Byte: {className: 'java.lang.Byte'},
     Date: {className: 'java.sql.Date'},

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ae32685e/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 9eb196d..ba253e0 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
@@ -523,7 +523,7 @@ function addCacheConfiguration(res, cache, varName) {
 
             var pair = cache.indexedTypes[i];
 
-            res.append(toJavaCode(pair.keyClass, 'class')).append(', ').append(toJavaCode(pair.valueClass,
'class'))
+            res.append(toJavaCode(res.importClass(pair.keyClass), 'class')).append(', ').append(toJavaCode(res.importClass(pair.valueClass),
'class'))
         }
 
         res.line(');');


Mime
View raw message