ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-843 To Upper case for field name.
Date Tue, 15 Sep 2015 10:17:34 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843 6ad0b29b1 -> b3cb23677


IGNITE-843 To Upper case for field name.


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

Branch: refs/heads/ignite-843
Commit: b3cb236772adc75f68cc178b17b3003bcf59ded3
Parents: 6ad0b29
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Tue Sep 15 17:17:23 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Tue Sep 15 17:17:23 2015 +0700

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/b3cb2367/modules/control-center-web/src/main/js/routes/generator/generator-java.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/routes/generator/generator-java.js b/modules/control-center-web/src/main/js/routes/generator/generator-java.js
index bd6ab4e..d384014 100644
--- a/modules/control-center-web/src/main/js/routes/generator/generator-java.js
+++ b/modules/control-center-web/src/main/js/routes/generator/generator-java.js
@@ -889,7 +889,7 @@ $generatorJava.metadataQueryFields = function (res, meta, fieldProperty)
{
         $generatorJava.declareVariable(res, $generatorJava.needNewVariable(res, fieldProperty),
fieldProperty, 'java.util.Map', 'java.util.LinkedHashMap', 'java.lang.String', 'java.lang.Class<?>');
 
         _.forEach(fields, function (field) {
-            res.line(fieldProperty + '.put("' + field.name + '", ' + res.importClass(field.className)
+ '.class);');
+            res.line(fieldProperty + '.put("' + field.name.toUpperCase() + '", ' + res.importClass(field.className)
+ '.class);');
         });
 
         res.needEmptyLine = true;


Mime
View raw message