groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject incubator-groovy git commit: Grammar mistake (closes #63)
Date Sat, 18 Jul 2015 08:58:10 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X 415d9ff16 -> 58a6b7383


Grammar mistake (closes #63)


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/58a6b738
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/58a6b738
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/58a6b738

Branch: refs/heads/GROOVY_2_4_X
Commit: 58a6b7383c72ce655a07f3f65be277f0fd31735a
Parents: 415d9ff
Author: Aseem Bansal <aseembansal@live.com>
Authored: Sat Jul 18 13:46:17 2015 +0530
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Sat Jul 18 10:57:48 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/core-operators.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/58a6b738/src/spec/doc/core-operators.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-operators.adoc b/src/spec/doc/core-operators.adoc
index 1900751..59b1af0 100644
--- a/src/spec/doc/core-operators.adoc
+++ b/src/spec/doc/core-operators.adoc
@@ -347,7 +347,7 @@ convert an existing method for the needs of the strategy pattern:
 include::{projectdir}/src/spec/test/OperatorsTest.groovy[tags=method_reference_strategy,indent=0]
 ----
 <1> the `transform` method takes each element of the list and calls the `action` closure
on them, returning a new list
-<2> we define a function that takes a `Person` a returns a `String`
+<2> we define a function that takes a `Person` and returns a `String`
 <3> we create a method pointer on that function
 <4> we create the list of elements we want to collect the descriptors
 <5> the method pointer can be used where a `Closure` was expected


Mime
View raw message