Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 811994D3B for ; Wed, 13 Jul 2011 09:23:32 +0000 (UTC) Received: (qmail 93121 invoked by uid 500); 13 Jul 2011 09:23:32 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 93024 invoked by uid 500); 13 Jul 2011 09:23:26 -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 92990 invoked by uid 99); 13 Jul 2011 09:23:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 09:23:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 09:23:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D24D64ED6E for ; Wed, 13 Jul 2011 09:22:59 +0000 (UTC) Date: Wed, 13 Jul 2011 09:22:59 +0000 (UTC) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Message-ID: <272122368.9323.1310548979858.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <538450700.4149.1298960736975.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5077) [patch] remove non productive instanceof checks 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-5077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-5077: ----------------------------------- Component/s: (was: Network Server) Store SQL > [patch] remove non productive instanceof checks > ----------------------------------------------- > > Key: DERBY-5077 > URL: https://issues.apache.org/jira/browse/DERBY-5077 > Project: Derby > Issue Type: Improvement > Components: SQL, Store > Affects Versions: 10.7.1.1 > Reporter: Dave Brosius > Assignee: Kristian Waagan > Priority: Trivial > Fix For: 10.9.0.0 > > Attachments: derby-5077-1a-remove_useless_instanceofs.diff, remove_useless_instanceofs.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > various places in code does instanceof checks where the outcome can be determined statically to be always true or always false. > removed these checks as they do nothing. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira