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/24 05:44:53 UTC

incubator-groovy git commit: Fixed typos in Closure resolve strategy docs (closes #69)

Repository: incubator-groovy
Updated Branches:
  refs/heads/master 0d5bf05eb -> 09dca0a37


Fixed typos in Closure resolve strategy docs (closes #69)


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

Branch: refs/heads/master
Commit: 09dca0a37488c990e564693920057c952c13c644
Parents: 0d5bf05
Author: Shil S <sh...@gmail.com>
Authored: Thu Jul 23 00:10:30 2015 -0400
Committer: pascalschumacher <pa...@gmx.net>
Committed: Fri Jul 24 05:43:51 2015 +0200

----------------------------------------------------------------------
 src/main/groovy/lang/Closure.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/09dca0a3/src/main/groovy/lang/Closure.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/Closure.java b/src/main/groovy/lang/Closure.java
index dc7db42..081fa02 100644
--- a/src/main/groovy/lang/Closure.java
+++ b/src/main/groovy/lang/Closure.java
@@ -91,7 +91,7 @@ public abstract class Closure<V> extends GroovyObjectSupport implements Cloneabl
      * 70
      * [x:10, y:20]
      * </pre>
-     * because the x and y fields declared in the Test class the variables in the delegate.<p>
+     * because the x and y fields declared in the Test class shadow the variables in the delegate.<p>
      * <i>Note that local variables are always looked up first, independently of the resolution strategy.</i>
      */
     public static final int OWNER_FIRST = 0;
@@ -256,7 +256,7 @@ public abstract class Closure<V> extends GroovyObjectSupport implements Cloneabl
     }
 
     /**
-     * Gets the strategy which the closure users to resolve methods and properties
+     * Gets the strategy which the closure uses to resolve methods and properties
      *
      * @return The resolve strategy
      *