You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2007/08/14 23:50:17 UTC
svn commit: r565933 -
/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SystemColumnImpl.java
Author: djd
Date: Tue Aug 14 14:50:16 2007
New Revision: 565933
URL: http://svn.apache.org/viewvc?view=rev&rev=565933
Log:
DERBY-1734 Remove now unused constructors of SystemColumnImpl
Modified:
db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SystemColumnImpl.java
Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SystemColumnImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SystemColumnImpl.java?view=diff&rev=565933&r1=565932&r2=565933
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SystemColumnImpl.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SystemColumnImpl.java Tue Aug 14 14:50:16 2007
@@ -23,11 +23,8 @@
import java.sql.Types;
-import org.apache.derby.iapi.sql.dictionary.SystemColumn;
-import org.apache.derby.iapi.error.StandardException;
+import org.apache.derby.iapi.sql.dictionary.SystemColumn;
import org.apache.derby.iapi.types.DataTypeDescriptor;
-import org.apache.derby.iapi.types.DataValueDescriptor;
-import org.apache.derby.iapi.types.DataValueFactory;
import org.apache.derby.iapi.types.TypeId;
/**
@@ -147,76 +144,6 @@
this.name = name;
this.type = type;
}
-
- /**
- * Constructor to create a description of a column in a system table.
- *
- * @param name
- * of column.
- * @param id
- * of column.
- * @param nullability
- * Whether or not column accepts nulls.
- * @param dataType
- * Datatype of column.
- * @param maxLength
- * Maximum length of data in column.
- */
- SystemColumnImpl( String name,
- int id,
- boolean nullability,
- String dataType,
- boolean builtInType,
- int maxLength )
- {
- this.name = name;
-
- TypeId typeId;
-
- if (builtInType)
- {
- typeId = TypeId.getBuiltInTypeId(dataType);
- }
- else
- {
-
- typeId = TypeId.getUserDefinedTypeId(dataType, false);
- }
-
- this.type = new DataTypeDescriptor(
- typeId,
- 0,
- 0,
- nullability,
- maxLength
- );
- }
- SystemColumnImpl( String name,
- int id,
- int ignoreP,
- int ignoreS,
- boolean nullability,
- String dataType,
- boolean builtInType,
- int maxLength )
-{
- this(name, id, nullability, dataType, builtInType, maxLength);
-}
-
- /**
- * Constructor to create a description of a column in a system table.
- * This constructor is used for SQL Identifiers (varchar 128).
- *
- * @param name of column.
- * @param id of column.
- * @param nullability Whether or not column accepts nulls.
- */
- SystemColumnImpl( String name,
- int id,
- boolean nullability)
- {
- this(name, id, nullability, "VARCHAR", true, 128);
- }
/**
* Gets the name of this column.