Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.8.2
-
None
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.