Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 58314 invoked from network); 14 Aug 2007 21:50:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2007 21:50:40 -0000 Received: (qmail 96598 invoked by uid 500); 14 Aug 2007 21:50:38 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 96580 invoked by uid 500); 14 Aug 2007 21:50:38 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 96569 invoked by uid 99); 14 Aug 2007 21:50:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 14:50:38 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 21:50:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 94D6C1A981A; Tue, 14 Aug 2007 14:50:17 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r565933 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/SystemColumnImpl.java Date: Tue, 14 Aug 2007 21:50:17 -0000 To: derby-commits@db.apache.org From: djd@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070814215017.94D6C1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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.