Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 13830 invoked from network); 17 Apr 2006 22:05:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Apr 2006 22:05:18 -0000 Received: (qmail 12993 invoked by uid 500); 17 Apr 2006 22:05:17 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 12770 invoked by uid 500); 17 Apr 2006 22:05:16 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 12761 invoked by uid 99); 17 Apr 2006 22:05:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 15:05:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 15:05:15 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1FF2E7142C5 for ; Mon, 17 Apr 2006 22:04:18 +0000 (GMT) Message-ID: <687129.1145311458098.JavaMail.jira@brutus> Date: Mon, 17 Apr 2006 22:04:18 +0000 (GMT+00:00) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1224) Remove unused variables in DatabaseMetaData In-Reply-To: <26781370.1145311157593.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1224?page=all ] Knut Anders Hatlen updated DERBY-1224: -------------------------------------- Derby Info: [Patch Available] > Remove unused variables in DatabaseMetaData > ------------------------------------------- > > Key: DERBY-1224 > URL: http://issues.apache.org/jira/browse/DERBY-1224 > Project: Derby > Type: Improvement > Components: JDBC, Network Client, Performance > Versions: 10.2.0.0 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Minor > Attachments: derby-1224-v1.diff, derby-1224-v1.stat > > org.apache.derby.client.am.DatabaseMetaData has a number of instance > variables which don't seem to have any purpose: > lastGetColumnPrivilegesResultSet_ > lastGetColumnsResultSet_ > lastGetForeignKeysResultSet_ > lastGetPrimaryKeysResultSet_ > lastGetProcedureColumnsResultSet_ > lastGetProceduresResultSet_ > lastGetSpecialColumnsResultSet_ > lastGetStatisticsResultSet_ > lastGetTablePrivilegesResultSet_ > lastGetTablesResultSet_ > lastGetUDTsResultSet_ > lastGetTypeInfoResultSet_ > lastGetAttrResultSet_ > lastGetSuperTypesResultSet_ > lastGetSuperTablesResultSet_ > Each lastGetXXXResultSet_ variable is set when the corresponding > getXXX method is invoked. However, the variables are never read, so > they could just as well be removed. Removing them will reduce the > memory footprint. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira