Return-Path: Delivered-To: apmail-ofbiz-commits-archive@www.apache.org Received: (qmail 11683 invoked from network); 28 Feb 2011 20:51:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Feb 2011 20:51:42 -0000 Received: (qmail 67533 invoked by uid 500); 28 Feb 2011 20:51:42 -0000 Delivered-To: apmail-ofbiz-commits-archive@ofbiz.apache.org Received: (qmail 67479 invoked by uid 500); 28 Feb 2011 20:51:41 -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 67472 invoked by uid 99); 28 Feb 2011 20:51:41 -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:51:41 +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:51:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CD74B23889B3; Mon, 28 Feb 2011 20:51:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1075524 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallBsh.java Date: Mon, 28 Feb 2011 20:51:20 -0000 To: commits@ofbiz.apache.org From: mrisaliti@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110228205120.CD74B23889B3@eris.apache.org> Author: mrisaliti Date: Mon Feb 28 20:51:20 2011 New Revision: 1075524 URL: http://svn.apache.org/viewvc?rev=1075524&view=rev Log: Remove some warning in CallBsh (OFBIZ-4102) Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallBsh.java Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallBsh.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallBsh.java?rev=1075524&r1=1075523&r2=1075524&view=diff ============================================================================== --- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallBsh.java (original) +++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallBsh.java Mon Feb 28 20:51:20 2011 @@ -102,7 +102,7 @@ public class CallBsh extends MethodOpera Object resourceResult = bsh.eval(outSb.toString()); // if map is returned, copy values into env - if ((resourceResult != null) && (resourceResult instanceof Map)) { + if ((resourceResult != null) && (resourceResult instanceof Map)) { methodContext.putAllEnv(UtilGenerics.checkMap(resourceResult)); } } catch (IOException e) { @@ -117,7 +117,7 @@ public class CallBsh extends MethodOpera if (Debug.verboseOn()) Debug.logVerbose("Result of inline BSH script: " + inlineResult, module); // if map is returned, copy values into env - if ((inlineResult != null) && (inlineResult instanceof Map)) { + if ((inlineResult != null) && (inlineResult instanceof Map)) { methodContext.putAllEnv(UtilGenerics.checkMap(inlineResult)); } } catch (EvalError e) {