ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sevdoki...@apache.org
Subject [10/50] incubator-ignite git commit: # IGNITE-330 Code generator: added javadoc.
Date Tue, 24 Mar 2015 13:55:34 GMT
# IGNITE-330 Code generator: added javadoc.


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

Branch: refs/heads/sprint-2
Commit: cd1f1de355f1c9adde917709fc984650f564beed
Parents: fd30ef2
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Tue Mar 24 10:18:55 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Tue Mar 24 10:18:55 2015 +0700

----------------------------------------------------------------------
 .../org/apache/ignite/schema/generator/CodeGenerator.java     | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/cd1f1de3/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 817a158..d31df86 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
@@ -509,7 +509,12 @@ public class CodeGenerator {
                 "org.apache.ignite.configuration.*;;javax.cache.configuration.*;java.sql.*;java.util.*",
             "CacheConfig", "CacheConfig");
 
-        add1(src, "/** Configure cache. */");
+        add1(src, "/**");
+        add1(src, "/* Configure cache.");
+        add1(src, "/*");
+        add1(src, "/* @param name Cache name.");
+        add1(src, "/* @param factory Cache store factory.");
+        add1(src, "*/");
         add1(src, " public static CacheConfiguration cache(String name, Factory<CacheStore>
factory) {");
         add2(src, "if (factory == null)");
         add3(src, " throw new IllegalArgumentException(\"Cache store factory cannot be null.\");");


Mime
View raw message