Repository: groovy Updated Branches: refs/heads/master fd567f7e5 -> 37f7905c3
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/37f7905c Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/37f7905c Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/37f7905c Branch: refs/heads/master Commit: 37f7905c39e2e35cee0c07466a5cb74b65e1fc8c Parents: fd567f7 Author: kotomoto <jko...@gmail.com> Authored: Thu Mar 10 09:04:35 2016 +0100 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Thu Mar 10 18:55:28 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/37f7905c/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