You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2015/07/18 10:56:57 UTC

incubator-groovy git commit: Grammar mistake (closes #63)

Repository: incubator-groovy
Updated Branches:
  refs/heads/master 7e603b033 -> c230e8704


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/c230e870
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/c230e870
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/c230e870

Branch: refs/heads/master
Commit: c230e87043df8423c4ac1da5bb375c0b94b18b24
Parents: 7e603b0
Author: Aseem Bansal <as...@live.com>
Authored: Sat Jul 18 13:46:17 2015 +0530
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sat Jul 18 10:55:50 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/c230e870/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