@TailRecursive doc should read "Method annotation ..." (closes #461)

Minor text fixes to TailRecursive annotation's documentation:
 - it is a method annotation, not a class annotation
 - since I was already here, added an 's' to make pluralization of "recursive 
calls" consistent


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

Branch: refs/heads/parrot
Commit: e3a98065e114bd68a18cb36a281cb70d978443ba
Parents: 1b69ad6
Author: Leo Gertsenshteyn <leo...@gmail.com>
Authored: Wed Nov 9 15:09:58 2016 -0800
Committer: John Wagenleitner <jwagenleit...@apache.org>
Committed: Wed Nov 16 15:36:13 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/e3a98065/src/main/groovy/transform/TailRecursive.groovy
----------------------------------------------------------------------
diff --git a/src/main/groovy/transform/TailRecursive.groovy 
b/src/main/groovy/transform/TailRecursive.groovy
index e2bea42..afbee50 100644
--- a/src/main/groovy/transform/TailRecursive.groovy
+++ b/src/main/groovy/transform/TailRecursive.groovy
@@ -26,7 +26,7 @@ import java.lang.annotation.RetentionPolicy
 import java.lang.annotation.Target
 
 /**
- * Class annotation used to transform method with tail recursive calls into 
iterative methods automagically
+ * Method annotation used to transform methods with tail recursive calls into 
iterative methods automagically
  * since the JVM cannot do this itself. This works for both static and 
non-static methods.
  * <p/>
  * It allows you to write a method like this:

Reply via email to