提交 a6636824 authored 作者: Thomas Mueller's avatar Thomas Mueller

Cleanup:

- Javadocs
上级 695d73be
...@@ -109,8 +109,7 @@ public class SupportedTypes { ...@@ -109,8 +109,7 @@ public class SupportedTypes {
} }
/** /**
* Class to demonstrate TableUpdater * This class demonstrates the table upgrade.
*
*/ */
@JQTable(name = "SupportedTypes", version = 2, inheritColumns = true, strictTypeMapping = true) @JQTable(name = "SupportedTypes", version = 2, inheritColumns = true, strictTypeMapping = true)
public static class SupportedTypes2 extends SupportedTypes { public static class SupportedTypes2 extends SupportedTypes {
......
...@@ -47,8 +47,8 @@ public class ModelUtils { ...@@ -47,8 +47,8 @@ public class ModelUtils {
} }
/** /**
* Marshall SQL type aliases to the list of supported types. * Convert SQL type aliases to the list of supported types.
* This map is used by Generation and Validation. * This map is used by generation and validation.
*/ */
private static final Map<String, String> SQL_TYPES = new HashMap<String, String>(); private static final Map<String, String> SQL_TYPES = new HashMap<String, String>();
...@@ -146,7 +146,7 @@ public class ModelUtils { ...@@ -146,7 +146,7 @@ public class ModelUtils {
sqlType = sqlType.split(" ")[0].trim(); sqlType = sqlType.split(" ")[0].trim();
if (SQL_TYPES.containsKey(sqlType)) { if (SQL_TYPES.containsKey(sqlType)) {
// marshall sqlType to a standard type // convert the sqlType to a standard type
sqlType = SQL_TYPES.get(sqlType); sqlType = SQL_TYPES.get(sqlType);
} }
Class<?> mappedClazz = null; Class<?> mappedClazz = null;
......
...@@ -364,7 +364,7 @@ public class TableInspector { ...@@ -364,7 +364,7 @@ public class TableInspector {
sb.append(eol); sb.append(eol);
// variable declaration // variable declaration
sb.append("\tpublic "); sb.append("\t" + "public ");
sb.append(clazz.getSimpleName()); sb.append(clazz.getSimpleName());
sb.append(' '); sb.append(' ');
sb.append(column); sb.append(column);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论