ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [31/50] [abbrv] incubator-ignite git commit: # IGNITE-330 Code generator: added javadoc and rename param.
Date Tue, 24 Mar 2015 09:02:44 GMT
# IGNITE-330 Code generator: added javadoc and rename param.


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

Branch: refs/heads/ignite-45-gridcache
Commit: b0caf3a4a7d898109a67ce409646671ab126a419
Parents: cd1f1de
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Tue Mar 24 10:20:14 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Tue Mar 24 10:20:14 2015 +0700

----------------------------------------------------------------------
 .../org/apache/ignite/schema/generator/CodeGenerator.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b0caf3a4/modules/schema-import/src/main/java/org/apache/ignite/schema/generator/CodeGenerator.java
----------------------------------------------------------------------
diff --git a/modules/schema-import/src/main/java/org/apache/ignite/schema/generator/CodeGenerator.java
b/modules/schema-import/src/main/java/org/apache/ignite/schema/generator/CodeGenerator.java
index d31df86..07ab422 100644
--- a/modules/schema-import/src/main/java/org/apache/ignite/schema/generator/CodeGenerator.java
+++ b/modules/schema-import/src/main/java/org/apache/ignite/schema/generator/CodeGenerator.java
@@ -513,15 +513,15 @@ public class CodeGenerator {
         add1(src, "/* Configure cache.");
         add1(src, "/*");
         add1(src, "/* @param name Cache name.");
-        add1(src, "/* @param factory Cache store factory.");
+        add1(src, "/* @param storeFactory Cache store factory.");
         add1(src, "*/");
-        add1(src, " public static CacheConfiguration cache(String name, Factory<CacheStore>
factory) {");
-        add2(src, "if (factory == null)");
+        add1(src, " public static CacheConfiguration cache(String name, Factory<CacheStore>
storeFactory) {");
+        add2(src, "if (storeFactory == null)");
         add3(src, " throw new IllegalArgumentException(\"Cache store factory cannot be null.\");");
         add0(src, "");
         add2(src, "CacheConfiguration ccfg = new CacheConfiguration(name);");
         add0(src, "");
-        add2(src, "ccfg.setCacheStoreFactory(factory);");
+        add2(src, "ccfg.setCacheStoreFactory(storeFactory);");
         add2(src, "ccfg.setReadThrough(true);");
         add2(src, "ccfg.setWriteThrough(true);");
         add0(src, "");


Mime
View raw message