Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: 1.9-beta-4, 1.8.4, 1.7.11
-
Component/s: GroovyDoc
-
Labels:None
-
Number of attachments :
Description
CharsetToolkit javadocs (http://groovy.codehaus.org/api/groovy/util/CharsetToolkit.html) for the class has the following code example:
...
// guess the encoding
Charset guessedCharset = CharsetToolkit.guessEncoding(file, 4096);
...
The instance method guessEncoding() is private and is also referenced in other public method javadoc.
Added a Github pull request (https://github.com/groovy/groovy-core/pull/2).