You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2014/09/21 17:18:21 UTC
svn commit: r1626591 -
/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SizedForBitDataSqlType.java
Author: tfischer
Date: Sun Sep 21 15:18:21 2014
New Revision: 1626591
URL: http://svn.apache.org/r1626591
Log:
Fix checkstyle problem
Modified:
db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SizedForBitDataSqlType.java
Modified: db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SizedForBitDataSqlType.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SizedForBitDataSqlType.java?rev=1626591&r1=1626590&r2=1626591&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SizedForBitDataSqlType.java (original)
+++ db/torque/torque4/trunk/torque-templates/src/main/java/org/apache/torque/templates/typemapping/SizedForBitDataSqlType.java Sun Sep 21 15:18:21 2014
@@ -58,7 +58,7 @@ public class SizedForBitDataSqlType exte
/**
* @see SqlType#SqlType(String)
*/
- public SizedForBitDataSqlType(String sqlType)
+ public SizedForBitDataSqlType(final String sqlType)
{
super(sqlType);
}
@@ -66,7 +66,7 @@ public class SizedForBitDataSqlType exte
/**
* @see SqlType#SqlType(String, String)
*/
- public SizedForBitDataSqlType(String sqlType, String size)
+ public SizedForBitDataSqlType(final String sqlType, final String size)
{
super(sqlType, size);
}
@@ -75,10 +75,10 @@ public class SizedForBitDataSqlType exte
* @see SqlType#SqlType(String, String, string, String)
*/
public SizedForBitDataSqlType(
- SqlType sqlType,
- String size,
- String scale,
- String defaultValue)
+ final SqlType sqlType,
+ final String size,
+ final String scale,
+ final String defaultValue)
{
super(sqlType, size, scale, defaultValue);
}
@@ -91,7 +91,7 @@ public class SizedForBitDataSqlType exte
* @see org.apache.torque.SqlType.database.model.Domain#getSize()
*/
@Override
- public String printSize(String sizeSuffix)
+ public String printSize(final String sizeSuffix)
{
String result = "";
if (!StringUtils.isBlank(getSize()))
@@ -111,12 +111,12 @@ public class SizedForBitDataSqlType exte
@Override
public SqlType getNew(
String size,
- String scale,
- String defaultValue)
+ final String scale,
+ final String defaultValue)
{
if (size == null)
{
- size = "1";;
+ size = "1";
}
return new SizedForBitDataSqlType(
this,
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org