groovy git commit: Documentation: core-closures - typo and styling (closes #288, closes #289)
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: kotomotoAuthored: 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
groovy git commit: Documentation: core-closures - typo and styling (closes #288, closes #289)
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: kotomotoAuthored: Thu Mar 10 09:04:35 2016 +0100 Committer: pascalschumacher 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