Repository: groovy
Updated Branches:
  refs/heads/native-lambda 1296d2f93 -> 82b08ffa5


Remove temporary methods


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

Branch: refs/heads/native-lambda
Commit: 82b08ffa5914b35b8d7494d19860de359f6bd27d
Parents: 1296d2f
Author: sunlan <[email protected]>
Authored: Thu Jan 18 10:56:52 2018 +0800
Committer: sunlan <[email protected]>
Committed: Thu Jan 18 10:56:52 2018 +0800

----------------------------------------------------------------------
 src/main/groovy/groovy/lang/Lambda.java | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/82b08ffa/src/main/groovy/groovy/lang/Lambda.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Lambda.java 
b/src/main/groovy/groovy/lang/Lambda.java
index 82953b0..159566c 100644
--- a/src/main/groovy/groovy/lang/Lambda.java
+++ b/src/main/groovy/groovy/lang/Lambda.java
@@ -31,22 +31,12 @@ public abstract class Lambda<V> extends Closure<V> {
     }
 
     /**
-     * Constructor used when the "this" object for the Closure is null.
+     * Constructor used when the "this" object for the Lambda is null.
      * This is rarely the case in normal Groovy usage.
      *
-     * @param owner the Closure owner
+     * @param owner the Lambda owner
      */
     public Lambda(Object owner) {
         super(owner);
     }
-
-    /**
-     * Invokes the closure without any parameters, returning any value if 
applicable.
-     *
-     * @return the value if applicable or null if there is no return statement 
in the closure
-     */
-    @Override
-    public V call() {
-        return null;
-    }
 }

Reply via email to