Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-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 DAC491776B for ; Wed, 24 Jun 2015 12:48:38 +0000 (UTC) Received: (qmail 65833 invoked by uid 500); 24 Jun 2015 12:48:38 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 65801 invoked by uid 500); 24 Jun 2015 12:48:38 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 65792 invoked by uid 99); 24 Jun 2015 12:48:38 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2015 12:48:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4ED2C18195D for ; Wed, 24 Jun 2015 12:48:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id F4Nq-Jtu5sLs for ; Wed, 24 Jun 2015 12:48:37 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 36F104BB8D for ; Wed, 24 Jun 2015 12:48:37 +0000 (UTC) Received: (qmail 65784 invoked by uid 99); 24 Jun 2015 12:48:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2015 12:48:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9F197E3650; Wed, 24 Jun 2015 12:48:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Wed, 24 Jun 2015 12:48:42 -0000 Message-Id: <526f3ccddd274460a8841c273a653c75@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [7/7] incubator-ignite git commit: #ignite-965: js __internalCall can use only 2 arguments. #ignite-965: js __internalCall can use only 2 arguments. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/fbe54130 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/fbe54130 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/fbe54130 Branch: refs/heads/ignite-965 Commit: fbe541306dcb6db769868751767efe897dc741f5 Parents: 3989b84 Author: ivasilinets Authored: Wed Jun 24 15:48:26 2015 +0300 Committer: ivasilinets Committed: Wed Jun 24 15:48:26 2015 +0300 ---------------------------------------------------------------------- .../internal/processors/scripting/IgniteScriptProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/fbe54130/modules/core/src/main/java/org/apache/ignite/internal/processors/scripting/IgniteScriptProcessor.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/scripting/IgniteScriptProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/scripting/IgniteScriptProcessor.java index b48b0c0..2c2d5c5 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/scripting/IgniteScriptProcessor.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/scripting/IgniteScriptProcessor.java @@ -59,7 +59,7 @@ public class IgniteScriptProcessor extends GridProcessorAdapter { String internalCall = "function __internalCall(funcSource, arg1, arg2) { " + "var func = __createJSFunction(funcSource); " + - "return func.apply(null, arg1, arg2); }"; + "return func.apply(null, [arg1, arg2]); }"; addEngineFunction(createJSFunction); addEngineFunction(internalCall);