groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject groovy git commit: BaseScript: correct example in javadoc
Date Wed, 29 Mar 2017 04:17:06 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_5_X e18fa9c28 -> 82fff3890


BaseScript: correct example in javadoc


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

Branch: refs/heads/GROOVY_2_5_X
Commit: 82fff38906b1f4eb4e31f88510aca19b55242b36
Parents: e18fa9c
Author: Shil Sinha <shils@apache.org>
Authored: Wed Mar 29 00:14:15 2017 -0400
Committer: Shil Sinha <shils@apache.org>
Committed: Wed Mar 29 00:16:40 2017 -0400

----------------------------------------------------------------------
 src/main/groovy/transform/BaseScript.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/82fff389/src/main/groovy/transform/BaseScript.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/transform/BaseScript.java b/src/main/groovy/transform/BaseScript.java
index 6bea56e..227333a 100644
--- a/src/main/groovy/transform/BaseScript.java
+++ b/src/main/groovy/transform/BaseScript.java
@@ -36,7 +36,7 @@ import java.lang.annotation.Target;
  * {@link org.codehaus.groovy.control.CompilerConfiguration} of {@link groovy.lang.GroovyShell}
  * Example usage:
  * <pre>
- * class CustomScript extends Script {
+ * abstract class CustomScript extends Script {
  *     int getTheMeaningOfLife() { 42 }
  * }
  *


Mime
View raw message