You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nicolas Gavalda (JIRA)" <ji...@apache.org> on 2014/02/25 17:15:22 UTC
[jira] [Created] (TIKA-1248) CharsetDetector.getReader method
doesn't support empty/null declaredEncoding
Nicolas Gavalda created TIKA-1248:
-------------------------------------
Summary: CharsetDetector.getReader method doesn't support empty/null declaredEncoding
Key: TIKA-1248
URL: https://issues.apache.org/jira/browse/TIKA-1248
Project: Tika
Issue Type: Bug
Affects Versions: 1.4
Reporter: Nicolas Gavalda
Priority: Minor
The javadoc of the CharsetDetector.getReader method states that the declaredEncoding parameter can be null or empty. However, providing such values throws an exception (IllegalArgumentException or IllegalCharsetNameException).
Either the javadoc should be updated to match this behavior, or the bug should be fixed (even if the method seems not to be used internally).
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)