ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject [06/14] incubator-ignite git commit: # sprint-2 Fixed typo in snippet generator.
Date Thu, 05 Mar 2015 01:18:39 GMT
# sprint-2 Fixed typo in snippet generator.


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

Branch: refs/heads/ignite-185
Commit: e7f7f57d47305ad0c476f91ddcc1a748e17a7e7f
Parents: 5d2a7c6
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Wed Mar 4 21:44:27 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Wed Mar 4 21:44:27 2015 +0700

----------------------------------------------------------------------
 .../java/org/apache/ignite/schema/generator/SnippetGenerator.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e7f7f57d/modules/schema-load/src/main/java/org/apache/ignite/schema/generator/SnippetGenerator.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/generator/SnippetGenerator.java
b/modules/schema-load/src/main/java/org/apache/ignite/schema/generator/SnippetGenerator.java
index e54c019..4abd5a6 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/generator/SnippetGenerator.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/generator/SnippetGenerator.java
@@ -113,7 +113,7 @@ public class SnippetGenerator {
 
             src.add("// Key fields for " + tbl + ".");
             src.add((first ? "Collection<CacheTypeFieldMetadata> " : "") + "keys =
new ArrayList<>();");
-            addFields(src, "keys", pojo.valueFields(includeKeys));
+            addFields(src, "keys", pojo.keyFields());
             src.add("type.setKeyFields(keys);");
             src.add("");
 


Mime
View raw message