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

[14/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/a0a878a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/a0a878a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/a0a878a3

Branch: refs/heads/ignite-1121
Commit: a0a878a3c9661cdf23f945a2ecd2cc965dee421d
Parents: 524ff59
Author: AKuznetsov <ak...@gridgain.com>
Authored: Thu Jul 30 17:09:17 2015 +0700
Committer: AKuznetsov <ak...@gridgain.com>
Committed: Thu Jul 30 17:09:17 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/a0a878a3/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 c10b6ce..e4f6573 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
@@ -555,7 +555,7 @@ function addCacheConfiguration(res, cache, varName) {
         if (storeFactory.dialect) {
             var dataSourceBean = storeFactory.dataSourceBean;
 
-            dsVarName = 'dataSource' + toJavaName(dataSourceBean);
+            dsVarName = toJavaName('dataSource', dataSourceBean);
 
             if (!_.contains(res.datasourceBeans, dataSourceBean)) {
                 res.datasourceBeans.push(dataSourceBean);