ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [23/50] incubator-ignite git commit: IGNITE-843 Fixed java code generation.
Date Fri, 31 Jul 2015 07:47:05 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/05cb7f3f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/05cb7f3f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/05cb7f3f

Branch: refs/heads/ignite-1155_1
Commit: 05cb7f3fff5bb0350de475d85b7e13054ca924b2
Parents: e1adcd0
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Thu Jul 30 17:00:41 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Thu Jul 30 17:00:41 2015 +0700

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/05cb7f3f/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 d737780..c1c2de8 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
@@ -731,12 +731,11 @@ function addPropertyIfNotDefault(res, varName, obj, propName, dflt)
{
     if (generatorUtils.isDefined(val) && val != dflt) {
         res.emptyLineIfNeeded();
 
-        res.line(varName + '.' + getSetterName(setterName ? setterName : propName)
+        res.line(varName + '.' + getSetterName(propName)
             + '(' + toJavaCode(val, enumType) + ');');
     }
 }
 
-
 /**
  * Add property via setter assuming that it is a 'Class'.
  *


Mime
View raw message