Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C01F7B78 for ; Sat, 22 Oct 2011 17:48:39 +0000 (UTC) Received: (qmail 9900 invoked by uid 500); 22 Oct 2011 17:48:38 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 9828 invoked by uid 500); 22 Oct 2011 17:48:38 -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 9821 invoked by uid 99); 22 Oct 2011 17:48:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Oct 2011 17:48:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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, 22 Oct 2011 17:48:36 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 58BDA2388A74 for ; Sat, 22 Oct 2011 17:48:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1187739 - /commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java Date: Sat, 22 Oct 2011 17:48:15 -0000 To: commits@commons.apache.org From: mcucchiara@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111022174815.58BDA2388A74@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mcucchiara Date: Sat Oct 22 17:48:14 2011 New Revision: 1187739 URL: http://svn.apache.org/viewvc?rev=1187739&view=rev Log: Inline variable Modified: commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java Modified: commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java URL: http://svn.apache.org/viewvc/commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java?rev=1187739&r1=1187738&r2=1187739&view=diff ============================================================================== --- commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java (original) +++ commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MethodCacheEntryFactory.java Sat Oct 22 17:48:14 2011 @@ -41,9 +41,7 @@ public abstract class MethodCacheEntryFa Class c = key.targetClass; while ( c != null ) { - Method[] ma = c.getDeclaredMethods( ); - - for ( Method method : ma ) + for ( Method method : c.getDeclaredMethods( ) ) { // skip over synthetic methods