Author: tfischer
Date: Thu Apr 5 12:02:56 2012
New Revision: 1309803
URL: http://svn.apache.org/viewvc?rev=1309803&view=rev
Log:
Checkstyle, remove old TODI
Modified:
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformDefaultImpl.java
Modified:
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformDefaultImpl.java
URL:
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformDefaultImpl.java?rev=1309803&r1=1309802&r2=1309803&view=diff
==============================================================================
---
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformDefaultImpl.java
(original)
+++
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/platform/PlatformDefaultImpl.java
Thu Apr 5 12:02:56 2012
@@ -105,8 +105,6 @@ public class PlatformDefaultImpl impleme
*/
public String getNullString(boolean notNull)
{
- // TODO: Check whether this is true for all DBs. Also verify
- // the old Sybase templates.
return (notNull ? "NOT NULL" : "");
}
@@ -138,14 +136,13 @@ public class PlatformDefaultImpl impleme
/**
* Returns a possible SQL suffix for column definitions of certain
- * SQL Types, e.g. for Oracle VARCHAR2 columns, it typically
- * makes sense to use 'XXX CHAR' instead of 'XXX' as size.
- *
+ * SQL Types, e.g. for Oracle VARCHAR2 columns, it typically
+ * makes sense to use 'x CHAR' instead of 'x' as size.
+ *
* @param sqlType the SQL type to determine the suffix for.
- *
+ *
* @return The size suffix, not null.
* This implementation always returns the empty string.
- *
*/
public String getSizeSuffix(String sqlType)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]