ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [4/6] ignite git commit: ignite-1.5 Minor fix in generated javadoc.
Date Thu, 10 Dec 2015 06:47:00 GMT
ignite-1.5 Minor fix in generated javadoc.


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

Branch: refs/heads/ignite-2099
Commit: b541daf0bc9193dc0aa78b27efa610b26e49bec7
Parents: e2316ff
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Thu Dec 10 10:13:39 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Thu Dec 10 10:13:39 2015 +0700

----------------------------------------------------------------------
 .../ignite/schema/generator/CodeGenerator.java  | 30 +++++++++++---------
 1 file changed, 17 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b541daf0/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 92167e5..0e52acc 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
@@ -584,8 +584,8 @@ public class CodeGenerator {
         Collection<String> src = new ArrayList<>(256);
 
         header(src, pkg, "java.sql.*;java.util.*;" +
-                "org.apache.ignite.cache.*;org.apache.ignite.cache.store.jdbc.*;" +
-                "org.apache.ignite.configuration.*",
+            "org.apache.ignite.cache.*;org.apache.ignite.cache.store.jdbc.*;" +
+            "org.apache.ignite.configuration.*",
             "CacheConfig", "CacheConfig");
 
         // Generate methods for each type in order to avoid compiler error "java: code too
large".
@@ -594,10 +594,11 @@ public class CodeGenerator {
             String valClsName = pojo.valueClassName();
 
             add1(src, "/**");
-            add1(src, "* Create JDBC type for " + tbl + ".");
-            add1(src, "*");
-            add1(src, "* @param cacheName Cache name.");
-            add1(src, "*/");
+            add1(src, " * Create JDBC type for " + tbl + ".");
+            add1(src, " *");
+            add1(src, " * @param cacheName Cache name.");
+            add1(src, " * @return Configured JDBC type.");
+            add1(src, " */");
             add1(src, "private static JdbcType jdbcType" + valClsName + "(String cacheName)
{");
 
             add2(src, "JdbcType jdbcType = new JdbcType();");
@@ -632,8 +633,10 @@ public class CodeGenerator {
             add0(src, "");
 
             add1(src, "/**");
-            add1(src, "* Create SQL Query descriptor for " + tbl + ".");
-            add1(src, "*/");
+            add1(src, " * Create SQL Query descriptor for " + tbl + ".");
+            add1(src, " *");
+            add1(src, " * @return Configured query entity.");
+            add1(src, " */");
             add1(src, "private static QueryEntity queryEntity" + valClsName + "() {");
 
             // Query entity.
@@ -711,11 +714,12 @@ public class CodeGenerator {
         }
 
         add1(src, "/**");
-        add1(src, "* Configure cache.");
-        add1(src, "*");
-        add1(src, "* @param cacheName Cache name.");
-        add1(src, "* @param storeFactory Cache store factory.");
-        add1(src, "*/");
+        add1(src, " * Configure cache.");
+        add1(src, " *");
+        add1(src, " * @param cacheName Cache name.");
+        add1(src, " * @param storeFactory Cache store factory.");
+        add1(src, " * @return Cache configuration.");
+        add1(src, " */");
         add1(src, "public static <K, V> CacheConfiguration<K, V> cache(String
cacheName," +
             " CacheJdbcPojoStoreFactory<K, V> storeFactory) {");
         add2(src, "if (storeFactory == null)");


Mime
View raw message