Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 20534 invoked from network); 11 Nov 2010 15:06:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 15:06:08 -0000 Received: (qmail 6316 invoked by uid 500); 11 Nov 2010 15:06:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 6268 invoked by uid 500); 11 Nov 2010 15:06:39 -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 6261 invoked by uid 99); 11 Nov 2010 15:06:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 15:06:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 15:06:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oABF6F8M019143 for ; Thu, 11 Nov 2010 15:06:15 GMT Message-ID: <13004584.27331289487975449.JavaMail.jira@thor> Date: Thu, 11 Nov 2010 10:06:15 -0500 (EST) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4899) Refactor access to primary structures in AlterTableConstantAction In-Reply-To: <15621958.25161289476901453.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931033#action_12931033 ] Bryan Pendleton commented on DERBY-4899: ---------------------------------------- +1 to simplifying and removing unnecessary code! > Refactor access to primary structures in AlterTableConstantAction > ----------------------------------------------------------------- > > Key: DERBY-4899 > URL: https://issues.apache.org/jira/browse/DERBY-4899 > Project: Derby > Issue Type: Improvement > Components: SQL > Affects Versions: 10.7.1.0 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Priority: Minor > Attachments: derby-4899-1a-cleanup.diff > > > Many of the private methods in impl.sql.execute.AlterTableConstantAction take the activation (and sometimes a number of references obtained through it) as an argument. This seems unnecessary, and it clutters the code with argument passing, boilerplate code and variable hiding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.