Return-Path: X-Original-To: apmail-groovy-commits-archive@minotaur.apache.org Delivered-To: apmail-groovy-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 059251855A for ; Thu, 10 Mar 2016 17:58:05 +0000 (UTC) Received: (qmail 47628 invoked by uid 500); 10 Mar 2016 17:58:05 -0000 Delivered-To: apmail-groovy-commits-archive@groovy.apache.org Received: (qmail 47603 invoked by uid 500); 10 Mar 2016 17:58:04 -0000 Mailing-List: contact commits-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list commits@groovy.apache.org Received: (qmail 47594 invoked by uid 99); 10 Mar 2016 17:58:04 -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; Thu, 10 Mar 2016 17:58:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C91C3DFB8A; Thu, 10 Mar 2016 17:58:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pascalschumacher@apache.org To: commits@groovy.apache.org Message-Id: <928939c168b94f77831e7d00f412aa5e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: groovy git commit: Documentation: core-closures - typo and styling (closes #288, closes #289) Date: Thu, 10 Mar 2016 17:58:04 +0000 (UTC) Repository: groovy Updated Branches: refs/heads/GROOVY_2_4_X 69d1189e8 -> 778cb5432 Documentation: core-closures - typo and styling (closes #288, closes #289) Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/778cb543 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/778cb543 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/778cb543 Branch: refs/heads/GROOVY_2_4_X Commit: 778cb54325ff412699cc3e40415793221925b37f Parents: 69d1189 Author: kotomoto Authored: Thu Mar 10 09:04:35 2016 +0100 Committer: pascalschumacher Committed: Thu Mar 10 18:57:53 2016 +0100 ---------------------------------------------------------------------- src/spec/doc/core-closures.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/778cb543/src/spec/doc/core-closures.adoc ---------------------------------------------------------------------- diff --git a/src/spec/doc/core-closures.adoc b/src/spec/doc/core-closures.adoc index f57c4fe..5f1ebcc 100644 --- a/src/spec/doc/core-closures.adoc +++ b/src/spec/doc/core-closures.adoc @@ -302,7 +302,7 @@ At this point, the behavior is not different from having a `target` variable def include::{projectdir}/src/spec/test/ClosuresSpecTest.groovy[tags=delegate_alernative,indent=0] ---- -However there is are major differences: +However, there are major differences: * in the last example, _target_ is a local variable referenced from within the closure * the delegate can be used transparently, that is to say without prefixing method calls with `delegate.` as explained