Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.7.0
-
Fix Version/s: 1.7.1, 1.8-beta-1
-
Component/s: groovy-jdk
-
Labels:None
-
Number of attachments :
Description
Just had the need to look at the Groovy-JDK doco for URL#withInputStream and File#withInputStream.
Both methods have a 'See' section that references "#withStream(InputStream,Closure)."
I don't think that this exists anymore? In any case it isn't rendered as a link (which it would be if it existed, I assume).
The doco for several other methods in File also have the same 'See' section.
It's a bug in gdk doco generator. As an example, if you look at Javadoc doco here:
http://groovy.codehaus.org/api/org/codehaus/groovy/runtime/DefaultGroovyMethods.html#withInputStream(java.io.File, groovy.lang.Closure)
It points to the right place which does still exist, i.e. here:
http://groovy.codehaus.org/api/org/codehaus/groovy/runtime/DefaultGroovyMethods.html#withStream(java.io.InputStream, groovy.lang.Closure)
To make matters less clear, we specifically exclude DefaultGroovyMethods from the GroovyDoc - because such methods are available in the gdk doco! (A little embarrassing I guess)
I have been waiting for the Eclipse patch to the grammar which keeps more comment info in the grammar before working too much more on the doco tools in general but perhaps this one should be fixed with some more urgency. I am sure it won't be too hard as appropriate code is already working for the GroovyDoc case.