Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 81121 invoked from network); 8 Aug 2009 03:30:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Aug 2009 03:30:09 -0000 Received: (qmail 39895 invoked by uid 500); 8 Aug 2009 03:30:16 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 39761 invoked by uid 500); 8 Aug 2009 03:30:16 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 39752 invoked by uid 99); 8 Aug 2009 03:30:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Aug 2009 03:30:16 +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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Aug 2009 03:30:13 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A60582388981; Sat, 8 Aug 2009 03:29:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r802292 - in /commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl: AssignTest.java UnifiedJEXLTest.java Date: Sat, 08 Aug 2009 03:29:53 -0000 To: commits@commons.apache.org From: rahul@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090808032953.A60582388981@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rahul Date: Sat Aug 8 03:29:42 2009 New Revision: 802292 URL: http://svn.apache.org/viewvc?rev=802292&view=rev Log: Four unused variables in tests -- remove three, use one. Modified: commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/AssignTest.java commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java Modified: commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/AssignTest.java URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/AssignTest.java?rev=802292&r1=802291&r2=802292&view=diff ============================================================================== --- commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/AssignTest.java (original) +++ commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/AssignTest.java Sat Aug 8 03:29:42 2009 @@ -109,6 +109,7 @@ } catch(RuntimeException xrt) { String str = xrt.toString(); + assertTrue(str.contains("nosuchbean")); return; } finally { Modified: commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java?rev=802292&r1=802291&r2=802292&view=diff ============================================================================== --- commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java (original) +++ commons/proper/jexl/branches/2.0/src/test/java/org/apache/commons/jexl/UnifiedJEXLTest.java Sat Aug 8 03:29:42 2009 @@ -174,7 +174,7 @@ try { UnifiedJEXL.Expression expr = EL.parse("${'world'"); JexlContext none = null; - Object o = expr.evaluate(none); + expr.evaluate(none); fail("should be malformed"); } catch(UnifiedJEXL.Exception xjexl) { @@ -188,7 +188,7 @@ try { UnifiedJEXL.Expression expr = EL.parse("#{${hi} world}"); JexlContext none = null; - Object o = expr.evaluate(none); + expr.evaluate(none); fail("should be malformed"); } catch(UnifiedJEXL.Exception xjexl) { @@ -202,7 +202,7 @@ try { UnifiedJEXL.Expression expr = EL.parse("#{${hi}+'.world'}"); JexlContext none = null; - Object o = expr.evaluate(none); + expr.evaluate(none); fail("should be malformed"); } catch(UnifiedJEXL.Exception xjexl) {