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:01 UTC

[15/25] incubator-ignite git commit: IGNITE-843 Fixed java code generation.

IGNITE-843 Fixed java code generation.


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

Branch: refs/heads/ignite-1121
Commit: 3e6af39cd78826f6e44482425c4f7086185520c0
Parents: a0a878a
Author: AKuznetsov <ak...@gridgain.com>
Authored: Thu Jul 30 17:14:11 2015 +0700
Committer: AKuznetsov <ak...@gridgain.com>
Committed: Thu Jul 30 17:14:11 2015 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/routes/generator/java.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/3e6af39c/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 e4f6573..9eb196d 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
@@ -564,7 +564,7 @@ function addCacheConfiguration(res, cache, varName) {
 
                 res.line();
 
-                declareVariable(res, true, dsVarName, dataSource.className);
+                declareVariable(res, true, dsVarName, dataSource);
 
                 res.line(dsVarName + '.setURL(_URL_);');
                 res.line(dsVarName + '.setUsername(_User_Name_);');