Return-Path: Delivered-To: apmail-ofbiz-commits-archive@www.apache.org Received: (qmail 12695 invoked from network); 28 Feb 2011 20:56:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Feb 2011 20:56:25 -0000 Received: (qmail 80860 invoked by uid 500); 28 Feb 2011 20:56:25 -0000 Delivered-To: apmail-ofbiz-commits-archive@ofbiz.apache.org Received: (qmail 80803 invoked by uid 500); 28 Feb 2011 20:56:24 -0000 Mailing-List: contact commits-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list commits@ofbiz.apache.org Received: (qmail 80790 invoked by uid 99); 28 Feb 2011 20:56:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 20:56:24 +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; Mon, 28 Feb 2011 20:56:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A932C23889B3; Mon, 28 Feb 2011 20:56:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1075525 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java Date: Mon, 28 Feb 2011 20:56:03 -0000 To: commits@ofbiz.apache.org From: mrisaliti@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110228205603.A932C23889B3@eris.apache.org> Author: mrisaliti Date: Mon Feb 28 20:56:03 2011 New Revision: 1075525 URL: http://svn.apache.org/viewvc?rev=1075525&view=rev Log: Remove some warning in Iterate (OFBIZ-4102) Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java?rev=1075525&r1=1075524&r2=1075525&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/Iterate.java Mon Feb 28 20:56:03 2011 @@ -104,7 +104,7 @@ public class Iterate extends MethodOpera return false; } } - } else if (objList instanceof Collection) { + } else if (objList instanceof Collection) { Collection theCollection = UtilGenerics.checkCollection(objList); if (theCollection.size() == 0) { @@ -120,7 +120,7 @@ public class Iterate extends MethodOpera return false; } } - } else if (objList instanceof Iterator) { + } else if (objList instanceof Iterator) { Iterator theIterator = UtilGenerics.cast(objList); if (!theIterator.hasNext()) { if (Debug.verboseOn()) Debug.logVerbose("List with name " + listAcsr + " has no more entries, doing nothing: " + rawString(), module);