Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 20593 invoked from network); 17 Nov 2009 19:10:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Nov 2009 19:10:15 -0000 Received: (qmail 48597 invoked by uid 500); 17 Nov 2009 19:10:15 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 48569 invoked by uid 500); 17 Nov 2009 19:10:15 -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 48560 invoked by uid 99); 17 Nov 2009 19:10:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 19:10:15 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 19:10:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A9339238888E; Tue, 17 Nov 2009 19:09:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r881444 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj Date: Tue, 17 Nov 2009 19:09:52 -0000 To: derby-commits@db.apache.org From: mamta@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091117190952.A9339238888E@eris.apache.org> Author: mamta Date: Tue Nov 17 19:09:52 2009 New Revision: 881444 URL: http://svn.apache.org/viewvc?rev=881444&view=rev Log: DERBY-4402 Removing unnecessary if true check from earlier checkin Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj?rev=881444&r1=881443&r2=881444&view=diff ============================================================================== --- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj (original) +++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj Tue Nov 17 19:09:52 2009 @@ -9749,8 +9749,7 @@ columnExpression.accept(visitor); if (visitor.hasNode()) { - {if (true) throw StandardException.newException( - SQLState.LANG_AGGREGATE_IN_GROUPBY_LIST);} + throw StandardException.newException(SQLState.LANG_AGGREGATE_IN_GROUPBY_LIST); } if (columnExpression.isParameterNode()) {