ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject [12/25] incubator-ignite git commit: IGNITE-843 Fixed java code generation.
Date Fri, 31 Jul 2015 02:45:58 GMT
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/8922aad7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/8922aad7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/8922aad7

Branch: refs/heads/ignite-1121
Commit: 8922aad71e1a7939d2d2c82254d7fe41fc8f6673
Parents: 05cb7f3
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Thu Jul 30 17:04:34 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Thu Jul 30 17:04:34 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/8922aad7/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 c1c2de8..6024a4d 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
@@ -732,7 +732,7 @@ function addPropertyIfNotDefault(res, varName, obj, propName, dflt) {
         res.emptyLineIfNeeded();
 
         res.line(varName + '.' + getSetterName(propName)
-            + '(' + toJavaCode(val, enumType) + ');');
+            + '(' + toJavaCode(val) + ');');
     }
 }
 


Mime
View raw message