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 Fixed java code generation.
Date Mon, 12 Oct 2015 08:02:22 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843 ba9e118e2 -> 7565b71ad


IGNITE-843 Fixed java code generation.


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

Branch: refs/heads/ignite-843
Commit: 7565b71ad457d611e15815443947e1a836ddd897
Parents: ba9e118
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Mon Oct 12 15:02:47 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Mon Oct 12 15:02:47 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/7565b71a/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 0adb6ea..73bf998 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
@@ -1192,7 +1192,7 @@ $generatorJava.javaClassCode = function (meta, key, pkg, useConstructor,
include
     res.line('private static final long serialVersionUID = 0L;');
     res.needEmptyLine = true;
 
-    var fields = (key || includeKeyFields) ? meta.keyFields : [];
+    var fields = (key || includeKeyFields) ? meta.keyFields.slice() : [];
 
     if (!key)
         fields.push.apply(fields, meta.valueFields);


Mime
View raw message